diff options
author | João H. Spies <jhlspies@gmail.com> | 2022-08-08 02:51:20 +0000 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-08-25 14:01:12 +0200 |
commit | b871656aa4f54e04207f62bdd0d7572be1d86b36 (patch) | |
tree | b3cf37b14fe1d895be8b75ddffb79b462364cf2f /lib/test_fortify/write_overflow-strcpy.c | |
parent | 48ec73395887694f13c9452b4dcfb43710451757 (diff) |
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>
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions