drm/radeon: only add the mm i2c bus if the hw_i2c module param is set
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 10 Apr 2012 16:14:27 +0000 (12:14 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 22:30:57 +0000 (15:30 -0700)
commitd9a8fbbbcc62b03e9dd7fc1f67a259cc966bc82c
tree76afb899960d34a4101cea6723b61ede6b41f849
parentf4aca1c9b1f8fc59d416f9ea466851ce1d8b36c1
drm/radeon: only add the mm i2c bus if the hw_i2c module param is set

commit 46783150a6552f9513f08e62cfcc07125d6e502b upstream.

It seems it can corrupt the monitor EDID in certain cases on certain
boards when running sensors detect.  It's rarely used anyway outside
of AIW boards.

http://lists.lm-sensors.org/pipermail/lm-sensors/2012-April/035847.html
http://lists.freedesktop.org/archives/xorg/2011-January/052239.html

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_i2c.c