]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (adt7410) Clear unwanted bits in the config register
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 15 Feb 2013 16:57:10 +0000 (17:57 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 15 Feb 2013 20:01:18 +0000 (12:01 -0800)
commit1c2f97ae84956783db707e0cc49137366069b238
tree9192930b8d75e8e243030ddabdd70c92a4825d50
parentf8d9f79e601b9086f62bf1f07de385af4930d30e
hwmon: (adt7410) Clear unwanted bits in the config register

Make sure to clear the mode bits from the config register before setting the new
mode. Otherwise we might end up with a different mode than we want to.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7410.c