]> Git Repo - linux.git/commit
hwmon: (lm73) Make detection less problematic
authorJean Delvare <[email protected]>
Fri, 4 Nov 2011 11:00:46 +0000 (12:00 +0100)
committerJean Delvare <[email protected]>
Fri, 4 Nov 2011 11:00:46 +0000 (12:00 +0100)
commit24d6e2a89a1ff0a035f163a83a2812a3192083b6
tree9cd9206f65ae126d78ab428272ee8da62e41c4a8
parent746cdfbf01c0a30d59f6e1b6942d432658d7c7cd
hwmon: (lm73) Make detection less problematic

Word reads can cause trouble with some I2C devices, so do as much
detection as we can using only byte reads, and only use a word read in
the end to confirm the positive match. Also properly handle read
errors.

Signed-off-by: Jean Delvare <[email protected]>
Acked-by: Guenter Roeck <[email protected]>
Cc: Robert Casanova <[email protected]>
drivers/hwmon/lm73.c
This page took 0.052178 seconds and 4 git commands to generate.