]> git.baikalelectronics.ru Git - 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)
commite7ab4f6518b86d0991b5f01cb8b3cff0e49485ac
tree19b93afcb7e23289cf2cc82c7aaa114f6f54a158
parent0c4616c010760c3fd9db6b7c1357f0cca8b35029
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