]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (w83627hf) Add support for suspend
authorJean Delvare <khali@linux-fr.org>
Wed, 19 Dec 2012 21:16:59 +0000 (22:16 +0100)
committerJean Delvare <khali@endymion.delvare>
Wed, 19 Dec 2012 21:16:59 +0000 (22:16 +0100)
commit275b7d6ebe9e3599b2d178089171afd63d3fda02
tree0bede5b9f1f47cc763952817d57fd3b1495a7624
parentd6dab7dd123ba6a737e69d89c8cca9c6d9b75aa9
hwmon: (w83627hf) Add support for suspend

On suspend some register values are lost, most notably the Value RAM
areas but also other limits. Restore them on resume. On top of that,
some fixups are needed to work around BIOS bugs, in particular when
the BIOS omits running the same initialization sequence on resume
that it does after boot. In that case we have to carry initialization
over suspend.

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