radeon/i2c: do not count reg index in number of i2c byte we are writing.
authorJerome Glisse <jglisse@redhat.com>
Wed, 6 Nov 2013 22:42:02 +0000 (17:42 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 15 Nov 2013 20:29:32 +0000 (15:29 -0500)
commitfae009d15a44e5f1d938340facf4b8bc7dc69a09
treec338145b700b91839aaae362e983a50b2516c150
parent936b32643cb03dcb34ef5dab81970229b1cc2a33
radeon/i2c: do not count reg index in number of i2c byte we are writing.

Useless to count the register index in number of bytes we are writing.

Fixes a regression with hw i2c enabled.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/radeon/atombios_i2c.c