aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorDaniel Drake <[email protected]>2017-09-11 06:11:56 +0000
committerLinus Walleij <[email protected]>2017-09-12 13:58:45 +0000
commit79d2c8bede2c93f9432d7da0bc2f76a195c90fc0 (patch)
tree380ab56d10c279b0d5ff9d13a63a461d11c2ba31 /fs/btrfs/dev-replace.c
parentpinctrl: armada-37xx: Fix gpio interrupt setup (diff)
downloadkernel-79d2c8bede2c93f9432d7da0bc2f76a195c90fc0.tar.gz
kernel-79d2c8bede2c93f9432d7da0bc2f76a195c90fc0.zip
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: [email protected] Signed-off-by: Daniel Drake <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions