From: Michael Walle Date: Tue, 19 Jul 2016 14:43:26 +0000 (+0200) Subject: hwmon: (adt7411) set bit 3 in CFG1 register X-Git-Tag: v3.2.84~119 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=commitdiff_plain;h=76d4f39c0d9b469ce4ba14f1a581cbb8c434b805;hp=76d4f39c0d9b469ce4ba14f1a581cbb8c434b805;ds=sidebyside hwmon: (adt7411) set bit 3 in CFG1 register commit b53893aae441a034bf4dbbad42fe218561d7d81f upstream. 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 Signed-off-by: Guenter Roeck Signed-off-by: Ben Hutchings ---