hwmon: (f75375s) Do not overwrite values read from registers
commitebd5849e44b2a3fe939d9b5b36270ae6f8b727f9
authorGuillem Jover <guillem@hadrons.org>
Fri, 17 Sep 2010 15:24:12 +0000 (17 17:24 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Sep 2010 20:18:13 +0000 (20 13:18 -0700)
tree1c828fedb0b20638601f5819a702a0a304a89869
parent2e999ac7a157b6fddb9bd5db8aff9188a9b458bb
hwmon: (f75375s) Do not overwrite values read from registers

commit c3b327d60bbba3f5ff8fd87d1efc0e95eb6c121b upstream.

All bits in the values read from registers to be used for the next
write were getting overwritten, avoid doing so to not mess with the
current configuration.

Signed-off-by: Guillem Jover <guillem@hadrons.org>
Cc: Riku Voipio <riku.voipio@iki.fi>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/f75375s.c