]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (adt7475) Fix temperature fault flags
authorJean Delvare <khali@linux-fr.org>
Mon, 16 Nov 2009 11:45:39 +0000 (12:45 +0100)
committerJean Delvare <khali@linux-fr.org>
Mon, 16 Nov 2009 11:45:39 +0000 (12:45 +0100)
commit49d65d883afc2d5da971f304eb1301eb6da4997f
tree447795bf44155537f707e50f6574b62a958ee514
parent1edd828d8b4b0d06e9171027a2d9c1eb634c1339
hwmon: (adt7475) Fix temperature fault flags

The logic of temperature fault flags is wrong, it shows faults when
there are none and vice versa. Fix it.

I can't believe this has been broken since the driver was added, 8
months ago, basically breaking temp1 and temp3, and nobody ever
complained.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
drivers/hwmon/adt7475.c