summaryrefslogtreecommitdiff
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-05-04 13:09:28 +0400
committerJean Delvare <khali@linux-fr.org>2010-05-04 13:09:28 +0400
commitb1d4b390ea4bb480e65974ce522a04022608a8df (patch)
tree4db4a309249ce830e20218b89a7d27af55262e7a /include/linux/i2c.h
parente4a7b9b04de15f6b63da5ccdd373ffa3057a3681 (diff)
downloadlinux-b1d4b390ea4bb480e65974ce522a04022608a8df.tar.xz
i2c: Fix probing of FSC hardware monitoring chips
Some FSC hardware monitoring chips (Syleus at least) doesn't like quick writes we typically use to probe for I2C chips. Use a regular byte read instead for the address they live at (0x73). These are the only known chips living at this address on PC systems. For clarity, this fix should not be needed for kernels 2.6.30 and later, as we started instantiating the hwmon devices explicitly based on DMI data. Still, this fix is valuable in the following two cases: * Support for recent FSC chips on older kernels. The DMI-based device instantiation is more difficult to backport than the device support itself. * Case where the DMI-based device instantiation fails, whatever the reason. We fall back to probing in that case, so it should work. This fixes kernel bug #15634: https://bugzilla.kernel.org/show_bug.cgi?id=15634 Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Hans de Goede <hdegoede@redhat.com> Cc: stable@kernel.org
Diffstat (limited to 'include/linux/i2c.h')
0 files changed, 0 insertions, 0 deletions