Re: [PATCH 1/3] input: gpio-keys: Remove extra call to input_sync

2021-03-05 Thread Dmitry Torokhov
On Fri, Mar 05, 2021 at 05:01:09PM +, Paul Cercueil wrote: > The input_sync() function will already be called within > gpio_keys_gpio_report_event(), so there's no need to call it again after > the loop in gpio_keys_report_state(). I'd probably go other way around and remove the sync from gpio

[PATCH 1/3] input: gpio-keys: Remove extra call to input_sync

2021-03-05 Thread Paul Cercueil
The input_sync() function will already be called within gpio_keys_gpio_report_event(), so there's no need to call it again after the loop in gpio_keys_report_state(). Signed-off-by: Paul Cercueil --- drivers/input/keyboard/gpio_keys.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/