[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAkVrDM1TyM9VQ6rctF75EcLCRbimgJqbA2oH_RvJxC8ex6_vQ@mail.gmail.com>
Date: Mon, 12 May 2025 15:57:17 +0800
From: lihua - <lihua@...qin.corp-partner.google.com>
To: dmitry.torokhov@...il.com, hdegoede@...hat.com,
javier.carrasco.cruz@...il.com, zack.rusin@...adcom.com, namcao@...utronix.de,
andriy.shevchenko@...ux.intel.com, tglx@...utronix.de
Cc: linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Input: gpio-keys - Detect long press events in sleep mode
Hello, All linux team members:
Could you please review this modification as soon as possible?
On Tue, May 6, 2025 at 1:58 PM Hua Li
<lihua@...qin.corp-partner.google.com> wrote:
>
> Previously, long pressing the gpio key could only detect short press
> events and could not report long press events in sleep mode, we need
> to recognize long press events in sleep mode and fix this issue.
>
> Signed-off-by: Hua Li <lihua@...qin.corp-partner.google.com>
> ---
> drivers/input/keyboard/gpio_keys.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c
> index 5c39a217b94c..b546f38ecf8f 100644
> --- a/drivers/input/keyboard/gpio_keys.c
> +++ b/drivers/input/keyboard/gpio_keys.c
> @@ -426,6 +426,8 @@ static irqreturn_t gpio_keys_gpio_isr(int irq, void *dev_id)
> * handler to run.
> */
> input_report_key(bdata->input, button->code, 1);
> + input_sync(bdata->input);
> + return IRQ_HANDLED;
> }
> }
>
> --
> 2.17.1
>
Powered by blists - more mailing lists