]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e98c830b1c6b0fbb4c7dc2a69ba82c2abb2ef7e
treedd076a198af6995f87ebe1c29f18bc5c1590253c
parente1d1ee6578a28baadea8a77d2ef8fb7f4a38ad2b
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