1
0
Fork 0
alistair23-linux/drivers/pinctrl/samsung
Jonathan Bakker e75e551606 pinctrl: samsung: Save/restore eint_mask over suspend for EINT_TYPE GPIOs
commit f354157a7d upstream.

Currently, for EINT_TYPE GPIOs, the CON and FLTCON registers
are saved and restored over a suspend/resume cycle.  However, the
EINT_MASK registers are not.

On S5PV210 at the very least, these registers are not retained over
suspend, leading to the interrupts remaining masked upon resume and
therefore no interrupts being triggered for the device.  There should
be no effect on any SoCs that do retain these registers as theoretically
we would just be re-writing what was already there.

Fixes: 7ccbc60cd9 ("pinctrl: exynos: Handle suspend/resume of GPIO EINT registers")
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Bakker <xc-racer2@live.ca>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-22 09:31:20 +02:00
..
Kconfig pinctrl: samsung: Remove support for Exynos5440 2018-05-02 19:08:55 +02:00
Makefile pinctrl: samsung: Remove support for Exynos5440 2018-05-02 19:08:55 +02:00
pinctrl-exynos-arm.c pinctrl: samsung: fix leaked of_node references 2019-04-23 10:59:47 +02:00
pinctrl-exynos-arm64.c pinctrl: samsung: Document required order of banks 2018-04-18 17:48:39 +02:00
pinctrl-exynos.c pinctrl: samsung: Save/restore eint_mask over suspend for EINT_TYPE GPIOs 2020-06-22 09:31:20 +02:00
pinctrl-exynos.h pinctrl: samsung: Fix suspend/resume for Exynos5433 GPF1..5 banks 2018-05-23 21:23:19 +02:00
pinctrl-s3c24xx.c pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init 2019-12-17 19:56:38 +01:00
pinctrl-s3c64xx.c pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init 2019-12-17 19:56:39 +01:00
pinctrl-samsung.c pinctrl: samsung: Fix device node refcount leaks in init code 2019-12-17 19:56:39 +01:00
pinctrl-samsung.h pinctrl: Include <linux/gpio/driver.h> nothing else 2018-09-14 15:10:57 +02:00