[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y2QnoaP5XQSA0NKy@google.com>
Date: Thu, 3 Nov 2022 13:42:09 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Siarhei Volkau <lis8215@...il.com>
Cc: Paul Cercueil <paul@...pouillou.net>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [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@...il.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists