]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.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>
Wed, 20 Feb 2013 01:34:15 +0000 (17:34 -0800)
commit6e7d3b6bb9af358b2bf05cccb025ac5d66630b47
tree059828e559ed2dac772605899ac26d224ed49029
parentd47682803776f147ee9662a505c63bbbf27a1274
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>
Reviewed-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/adt7410.c