]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (w83627hf) Add support for suspend
authorJean Delvare <khali@linux-fr.org>
Mon, 5 Nov 2012 22:54:43 +0000 (09:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 5 Nov 2012 22:54:43 +0000 (09:54 +1100)
commit923e2467f94553c6744dc6ea5faaf1a1b1e4e633
treefcf4c477c63b4ff7c523cd04503c24b26e4b1043
parentef3ec9ba699cc0971fbc025f78dd5b5878f28e24
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