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