Daniel Drake 79d2c8bede pinctrl/amd: save pin registers over suspend/resume
The touchpad in the Asus laptop models X505BA/BP and X542BA/BP is
unresponsive after suspend/resume. The following error appears during
resume:

  i2c_hid i2c-ELAN1300:00: failed to reset device.

The problem here is that i2c_hid does not notice the interrupt being
generated at this point, because the GPIO is no longer configured
for interrupts.

Fix this by saving pinctrl-amd pin registers during suspend and
restoring them at resume time.

Based on code from pinctrl-intel.

Cc: stable@vger.kernel.org
Signed-off-by: Daniel Drake <drake@endlessm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-09-12 15:58:45 +02:00
..
2017-06-16 11:08:49 +02:00
2017-08-22 15:32:28 +02:00
2017-09-12 11:27:36 +02:00
2017-08-31 15:44:16 +02:00
2017-08-31 15:45:29 +02:00
2017-09-07 13:51:13 -07:00
2017-09-07 13:51:13 -07:00
2014-10-29 09:28:35 +01:00