• Daniel Drake's avatar
    pinctrl/amd: save pin registers over suspend/resume · 79d2c8be
    Daniel Drake authored
    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: default avatarDaniel Drake <drake@endlessm.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    79d2c8be
Name
Last commit
Last update
..
aspeed Loading commit data...
bcm Loading commit data...
berlin Loading commit data...
freescale Loading commit data...
intel Loading commit data...
mediatek Loading commit data...
meson Loading commit data...
mvebu Loading commit data...
nomadik Loading commit data...
pxa Loading commit data...
qcom Loading commit data...
samsung Loading commit data...
sh-pfc Loading commit data...
sirf Loading commit data...
spear Loading commit data...
sprd Loading commit data...
stm32 Loading commit data...
sunxi Loading commit data...
tegra Loading commit data...
ti Loading commit data...
uniphier Loading commit data...
vt8500 Loading commit data...
zte Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
core.c Loading commit data...
core.h Loading commit data...
devicetree.c Loading commit data...
devicetree.h Loading commit data...
pinconf-generic.c Loading commit data...
pinconf.c Loading commit data...
pinconf.h Loading commit data...
pinctrl-adi2-bf54x.c Loading commit data...
pinctrl-adi2-bf60x.c Loading commit data...
pinctrl-adi2.c Loading commit data...
pinctrl-adi2.h Loading commit data...
pinctrl-amd.c Loading commit data...
pinctrl-amd.h Loading commit data...
pinctrl-artpec6.c Loading commit data...
pinctrl-as3722.c Loading commit data...
pinctrl-at91-pio4.c Loading commit data...
pinctrl-at91.c Loading commit data...
pinctrl-at91.h Loading commit data...
pinctrl-coh901.c Loading commit data...
pinctrl-coh901.h Loading commit data...
pinctrl-da850-pupd.c Loading commit data...
pinctrl-digicolor.c Loading commit data...
pinctrl-falcon.c Loading commit data...
pinctrl-gemini.c Loading commit data...
pinctrl-ingenic.c Loading commit data...
pinctrl-lantiq.c Loading commit data...
pinctrl-lantiq.h Loading commit data...
pinctrl-lpc18xx.c Loading commit data...
pinctrl-max77620.c Loading commit data...
pinctrl-mcp23s08.c Loading commit data...
pinctrl-oxnas.c Loading commit data...
pinctrl-palmas.c Loading commit data...
pinctrl-pic32.c Loading commit data...
pinctrl-pic32.h Loading commit data...
pinctrl-pistachio.c Loading commit data...
pinctrl-rk805.c Loading commit data...
pinctrl-rockchip.c Loading commit data...
pinctrl-rza1.c Loading commit data...
pinctrl-single.c Loading commit data...
pinctrl-st.c Loading commit data...
pinctrl-sx150x.c Loading commit data...
pinctrl-tb10x.c Loading commit data...
pinctrl-tz1090-pdc.c Loading commit data...
pinctrl-tz1090.c Loading commit data...
pinctrl-u300.c Loading commit data...
pinctrl-utils.c Loading commit data...
pinctrl-utils.h Loading commit data...
pinctrl-xway.c Loading commit data...
pinctrl-zynq.c Loading commit data...
pinmux.c Loading commit data...
pinmux.h Loading commit data...