[Vivid][SRU][PATCH] #LP1518855 Backport better suspend/resume function for pinctrl-cherryview

Phidias Chiang phidias.chiang at canonical.com
Mon Dec 21 05:41:55 UTC 2015


BugLink: http://bugs.launchpad.net/bugs/1518855

[Impact]

On some platforms the touchpad relies on pinctrl devices to provide
GPIO interrupt, but in 3.19.0 pinctrl-cherryview doesn't support
suspend well and will lose the config after suspend/resume,
then touchpad can't be used.

[Fix]

There's a commit in 4.0-rc1 to add suspend/resume for pinctrl-cherryview:

commit 9eb457b547cc731bc2fc251bd79891a60c64fc3e
Refs: [HEAD]
Author: Mika Westerberg <mika.westerberg at linux.intel.com>
Date: Thu Dec 4 12:32:50 2014 +0200

    pinctrl: cherryview: Save and restore pin configs over system sleep

which can be clean cherry-picked

[Test]

3.19.0-33 -> failed
4.2-> passed
4.0, 4.1 -> Can't suspend due to graphic driver failed so can't use to test
3.19.0-33 + patched module -> passed


Mika Westerberg (1):
  pinctrl: cherryview: Save and restore pin configs over system sleep

 drivers/pinctrl/intel/pinctrl-cherryview.c | 104 +++++++++++++++++++++++++++++
 1 file changed, 104 insertions(+)

-- 
2.5.0





More information about the kernel-team mailing list