]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
committerLee Jones <lee.jones@linaro.org>
Mon, 9 May 2016 07:20:54 +0000 (08:20 +0100)
commit41a3da2b8e1639d983192e3650670df4ecc94cf7
tree62f5aef2a165262e8bb7328f56721ac7b8e7f742
parent0e10d549f6eebd0a26bf075309b6fb947f4c1cb2
mfd: intel-lpss: Save register context on suspend

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)
Cc: stable@vger.kernel.org # v4.3+
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel-lpss.c