diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-13 18:01:03 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-07-13 18:01:03 (GMT) |
commit | ac7d181e323a888015e19e2e4d776095a0433787 (patch) | |
tree | 014519b18f078b0171c1bf1e1bb54157a8ad073e /drivers | |
parent | 4264e6a263fc7166a5aa5234819b94f6fc9a2cd2 (diff) | |
parent | 41002f8dd5938d5ad1d008ce5bfdbfe47fa7b4e8 (diff) | |
download | linux-fsl-qoriq-ac7d181e323a888015e19e2e4d776095a0433787.tar.xz |
Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging
Please pull one hwmon subsystem fix from Jean Delvare.
* 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
hwmon: (it87) Preserve configuration register bits on init
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hwmon/it87.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c index e7701d9..f1de397 100644 --- a/drivers/hwmon/it87.c +++ b/drivers/hwmon/it87.c @@ -2341,7 +2341,7 @@ static void __devinit it87_init_device(struct platform_device *pdev) /* Start monitoring */ it87_write_value(data, IT87_REG_CONFIG, - (it87_read_value(data, IT87_REG_CONFIG) & 0x36) + (it87_read_value(data, IT87_REG_CONFIG) & 0x3e) | (update_vbat ? 0x41 : 0x01)); } |