drm/radeon/atom: fix bus probes when hw_i2c is set (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Dec 2013 22:16:49 +0000 (17:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Dec 2013 00:56:46 +0000 (19:56 -0500)
commitffd3d3361d583cb73fa65a5fed3a196ba6f261bb
treedd076a198af6995f87ebe1c29f18bc5c1590253c
parent53dc0b0c94907db53444ba485f8ae95111b0d6fd
drm/radeon/atom: fix bus probes when hw_i2c is set (v2)

When probing the bus, we need to set the byte count
to 0 rather than 1.

v2: Don't count the first byte.

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=66241

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