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-09-05 12:50:00 -07:00
2017-09-01 09:22:50 +02:00
2017-09-06 22:41:21 -07:00
2017-09-06 17:27:25 -07:00
2017-09-07 21:11:05 -07:00
2017-09-06 15:17:17 -07:00
2017-08-30 15:03:52 +02:00
2017-09-04 13:06:34 -07:00
2017-09-05 12:45:03 -07:00
2017-09-05 12:19:08 -07:00
2017-09-07 14:03:05 -07:00
2017-09-07 14:03:05 -07:00
2017-09-07 09:42:35 -07:00
2017-08-28 16:24:22 +02:00
2017-08-28 17:15:16 +02:00
2017-09-07 13:51:13 -07:00
2017-09-07 20:30:19 -07:00
2017-09-07 12:53:14 -07:00
2017-09-07 09:25:15 -07:00
2017-09-05 08:45:36 +01:00
2017-08-28 16:58:19 +02:00
2017-08-31 20:27:39 +02:00
2017-09-07 11:59:42 -07:00
2017-09-05 12:19:08 -07:00
2017-09-07 13:51:13 -07:00
2017-09-06 14:45:08 -07:00
2017-09-07 13:51:13 -07:00
2017-09-04 12:21:28 -07:00
2017-09-04 13:08:27 -07:00
2017-09-07 14:33:13 -07:00
2017-09-01 16:42:54 +10:00
2017-09-07 13:23:37 -07:00
2017-09-05 11:08:17 -07:00
2017-09-07 12:41:48 -07:00
2017-09-07 12:53:14 -07:00
2017-09-05 08:46:01 +01:00
2017-08-29 21:51:45 -04:00
2017-09-07 13:51:13 -07:00
2017-09-07 10:15:40 -07:00
2017-09-01 15:31:01 +02:00
2017-09-05 08:46:01 +01:00
2017-08-29 13:46:35 +02:00
2017-09-07 20:30:19 -07:00
2017-09-07 11:59:42 -07:00
2017-09-07 11:59:42 -07:00
2017-08-28 17:33:23 +02:00
2017-09-07 14:43:33 -07:00
2017-09-05 11:08:17 -07:00
2017-09-07 09:25:15 -07:00
2017-09-07 13:51:13 -07:00
2017-09-12 15:58:45 +02:00
2017-09-04 00:06:02 +02:00
2017-09-07 13:51:13 -07:00
2017-09-05 08:45:36 +01:00
2017-09-07 13:51:13 -07:00
2017-09-05 08:45:36 +01:00
2017-09-07 21:11:05 -07:00
2017-09-07 21:11:05 -07:00
2017-09-05 12:45:03 -07:00
2017-08-28 13:52:22 +02:00
2017-09-07 21:11:05 -07:00
2017-09-07 11:59:42 -07:00
2017-09-05 12:45:03 -07:00
2017-09-07 10:15:40 -07:00
2017-09-07 21:11:05 -07:00
2017-09-05 14:47:32 -07:00
2017-09-07 13:55:16 -07:00
2017-08-29 08:52:51 -05:00
2017-09-07 21:11:05 -07:00
2017-08-31 18:50:14 +02:00
2017-09-04 14:41:02 +01:00
2017-09-07 10:24:21 -07:00