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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 15:49:01 +0000 (07:49 -0800)
commitf9dd3d675ffd26a58af0200f3d43705328a66043
tree4b30b88cc5d4f6ce3b050f5a3a4e8bc8c62b535b
parent377d33fb858c8358cd096239f7eab6106c45c9e1
drm/radeon/atom: fix bus probes when hw_i2c is set (v2)

commit ffd3d3361d583cb73fa65a5fed3a196ba6f261bb upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/atombios_i2c.c