lkml.org 
[lkml]   [2022]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Input: matrix_keypad - force switch rows to input mode
On Wed, Nov 02, 2022 at 07:57:47PM +0300, Siarhei Volkau wrote:
> Some Pin/GPIO controllers can't get current GPIO status when interrupt
> mode is set. Specifically Ingenic's JZ4755 always returns status at the
> moment of interrupt.
>
> The patch tries to fix that by forcibly setting pin mode to GPIO input
> prior to reading actual row status. enable_row_irqs seems to set
> interrupt mode back as it should be.
>
> Signed-off-by: Siarhei Volkau <lis8215@gmail.com>

Applied, thank you.

--
Dmitry

\
 
 \ /
  Last update: 2022-11-03 21:43    [W:0.046 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site