Messages in this thread | | | Date | Thu, 3 Nov 2022 13:42:09 -0700 | From | Dmitry Torokhov <> | 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@gmail.com>
Applied, thank you.
-- Dmitry
| |