]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mfd: intel-lpss: Save register context on suspend
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 18 Apr 2016 12:14:56 +0000 (15:14 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Jun 2016 01:23:37 +0000 (18:23 -0700)
commit29b0aa9e376b70806ed8e018abe1645a6f641d42
tree9982430d6c48c4db427257d9f6206b07798314ff
parent648dbfa6cb8a86bec2e1d8f3da1e16bb47418bed
mfd: intel-lpss: Save register context on suspend

commit 41a3da2b8e1639d983192e3650670df4ecc94cf7 upstream.

All configurations are lost and the registers will have
default values when the hardware is suspended and resumed,
so saving the private register space context on suspend, and
restoring it on resume.

Fixes: 4b45efe85263 (mfd: Add support for Intel Sunrisepoint LPSS devices)
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mfd/intel-lpss.c