hwmon: (adt7411) set bit 3 in CFG1 register
authorMichael Walle <michael@walle.cc>
Tue, 19 Jul 2016 14:43:26 +0000 (16:43 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 20 Jul 2016 13:30:06 +0000 (06:30 -0700)
commitb53893aae441a034bf4dbbad42fe218561d7d81f
tree06a2a47c44f4efe49f0f5921b23e9dd62f795e3b
parent08426eda58e07af44aac7c9900ec8a6a62e16b2f
hwmon: (adt7411) set bit 3 in CFG1 register

According to the datasheet you should only write 1 to this bit. If it is
not set, at least AIN3 will return bad values on newer silicon revisions.

Fixes: d84ca5b345c2 ("hwmon: Add driver for ADT7411 voltage and temperature sensor")
Signed-off-by: Michael Walle <michael@walle.cc>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7411.c