]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (it87) Preserve configuration register bits on init
authorJean Delvare <khali@linux-fr.org>
Thu, 12 Jul 2012 20:47:37 +0000 (22:47 +0200)
committerJean Delvare <khali@endymion.delvare>
Thu, 12 Jul 2012 20:47:37 +0000 (22:47 +0200)
commit41002f8dd5938d5ad1d008ce5bfdbfe47fa7b4e8
treec09ffb6978413522cc37987a6fdf1bdb19ef6859
parent918227bb1b59444a2c467711fd50cc22bb4a897b
hwmon: (it87) Preserve configuration register bits on init

We were accidentally losing one bit in the configuration register on
device initialization. It was reported to freeze one specific system
right away. Properly preserve all bits we don't explicitly want to
change in order to prevent that.

Reported-by: Stevie Trujillo <stevie.trujillo@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/it87.c