commit | 4abdf38d206fdc22f7a3f7bf79eef78734ec84ab | [log] [tgz] |
---|---|---|
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | Sat Apr 22 07:08:09 2017 +1200 |
committer | Guenter Roeck <linux@roeck-us.net> | Fri Apr 21 12:33:57 2017 -0700 |
tree | 761de2127e29bd13ec0511a53cd08dda4a9168a1 | |
parent | bdaf9c40b2d1d67617b259c59ce1858eda54b4ce [diff] |
hwmon: (adt7475) set start bit in probe The ADT7475 and ADT7476 have the STRT bit cleared by default[1]. Before any monitoring activities the STRT bit needs to be set. Logically this needs to happen before any of the sensors are read so the probe() function seems the best place for it. [1] - https://www.onsemi.com/pub/Collateral/ADT7475-D.PDF Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by: Guenter Roeck <linux@roeck-us.net>