lkml.org 
[lkml]   [2022]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] pinctrl: rockchip: Enhance support for IRQ_TYPE_EDGE_BOTH
On Mon, Aug 8, 2022 at 4:53 AM João H. Spies <jhlspies@gmail.com> wrote:

> 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: 936ee26 ("gpio/rockchip: add driver for rockchip gpio")
> Signed-off-by: João H. Spies <jhlspies@gmail.com>

No reaction from maintainers so I'm just gonna assume this fix is
correct and applied for fixes.

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2022-08-22 11:06    [W:0.038 / U:0.192 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site