]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
hwmon: (lm63) Add support for writing the external critical temperature
authorGuenter Roeck <linux@roeck-us.net>
Mon, 16 Jan 2012 21:51:46 +0000 (22:51 +0100)
committerJean Delvare <khali@endymion.delvare>
Mon, 16 Jan 2012 21:51:46 +0000 (22:51 +0100)
commit94e55df48a230162edc641e55c28d058f5b6cb76
tree19b93afcb7e23289cf2cc82c7aaa114f6f54a158
parente872c91e726e7f7f74817cf9a81a138bf0d0a583
hwmon: (lm63) Add support for writing the external critical temperature

On LM64, the external critical temperature limit is always writable. On LM96163,
it is writable if the chip is configured for it. Add conditional support for
writing the register dependent on chip type and configuration.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm63.c