hwmon: (max1619) Fix critical alarm display
authorGuenter Roeck <linux@roeck-us.net>
Sat, 19 Apr 2014 16:15:38 +0000 (09:15 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 21 May 2014 23:02:25 +0000 (16:02 -0700)
commit628c6d27c0f41657362262000d01861e8cb36c3a
treea9b3dd49174d47a88f312c55c8f10317a7bfca37
parent175c490c9e7f75dbe6addd937c41939c137c6847
hwmon: (max1619) Fix critical alarm display

The overtemperature status bit, which is used to display critical alarm status,
matches the output of the OVERT signal 1:1. If that signal is active-low, the
bit will read 1 if there is no alarm. It is therefore necessary to reverse
the bit in this case.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/max1619.c