João H. Spies b871656aa4 pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
Switching between falling/rising edges for IRQ_TYPE_EDGE_BOTH on pins that
require debounce can cause the device to lose events due to a desync
between pin state and irq type.

This problem is resolved by switching between IRQ_TYPE_LEVEL_LOW and
IRQ_TYPE_LEVEL_HIGH instead.

Fixes: 936ee2675eee ("gpio/rockchip: add driver for rockchip gpio")
Signed-off-by: João H. Spies <jhlspies@gmail.com>
Link: https://lore.kernel.org/r/20220808025121.110223-1-jhlspies@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2022-08-25 14:01:12 +02:00
..
2022-01-11 12:31:35 -08:00
2021-04-14 10:19:22 +01:00
2022-08-04 18:34:05 -07:00
2021-05-05 16:07:41 +02:00
2022-06-23 23:18:13 +02:00
2022-06-21 18:01:11 +03:00
2022-06-06 14:09:16 +03:00
2022-04-01 10:26:09 -07:00
2021-11-08 11:55:21 -08:00
2022-01-14 18:50:52 -05:00
2022-08-04 18:34:05 -07:00
2022-08-04 18:34:05 -07:00
2022-08-04 18:34:05 -07:00
2022-06-05 09:12:28 -07:00