]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (w83627hf) Add support for suspend
authorJean Delvare <khali@linux-fr.org>
Sun, 11 Nov 2012 22:51:31 +0000 (09:51 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sun, 11 Nov 2012 22:51:31 +0000 (09:51 +1100)
commit9d9fe806c108dab4c0b8367aa0545ec8e72e6fd4
tree6fede129c4d8fe98e263531ee089e34b11cbd654
parentaffd9a8dbc22beadae1186aa060685d6f6a06792
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