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)
committerDave Airlie <airlied@redhat.com>
Wed, 11 Apr 2012 08:36:53 +0000 (09:36 +0100)
commit46783150a6552f9513f08e62cfcc07125d6e502b
treefd34912299b2e6fedd7e5fd1c2bba57b083b8437
parent6069a4c988d75c0fb309fa7da0909df2a222a65e
drm/radeon: only add the mm i2c bus if the hw_i2c module param is set

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>
Cc: stable@vger.kernel.org
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_i2c.c