hwmon: (adt7475) set start bit in probe
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Fri, 21 Apr 2017 19:08:09 +0000 (07:08 +1200)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 21 Apr 2017 19:33:57 +0000 (12:33 -0700)
commit4abdf38d206fdc22f7a3f7bf79eef78734ec84ab
tree761de2127e29bd13ec0511a53cd08dda4a9168a1
parentbdaf9c40b2d1d67617b259c59ce1858eda54b4ce
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>
drivers/hwmon/adt7475.c