public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Aditya Garg <gargaditya08@live.com>
Cc: "stable@vger.kernel.org" <stable@vger.kernel.org>
Subject: Re: [PATCH 6.18.y] HID: appletb-kbd: add .resume method in PM
Date: Fri, 20 Mar 2026 18:03:49 +0100	[thread overview]
Message-ID: <2026032041-scanner-appealing-996c@gregkh> (raw)
In-Reply-To: <20260320085841.1407-1-gargaditya08@live.com>

On Fri, Mar 20, 2026 at 08:58:47AM +0000, Aditya Garg wrote:
> Upon resuming from suspend, the Touch Bar driver was missing a resume
> method in order to restore the original mode the Touch Bar was on before
> suspending. It is the same as the reset_resume method.
> 
> Cc: stable@vger.kernel.org
> Signed-off-by: Aditya Garg <gargaditya08@live.com>
> ---
>  drivers/hid/hid-appletb-kbd.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/hid/hid-appletb-kbd.c b/drivers/hid/hid-appletb-kbd.c
> index b00687e67..0b10cff46 100644
> --- a/drivers/hid/hid-appletb-kbd.c
> +++ b/drivers/hid/hid-appletb-kbd.c
> @@ -477,7 +477,7 @@ static int appletb_kbd_suspend(struct hid_device *hdev, pm_message_t msg)
>  	return 0;
>  }
>  
> -static int appletb_kbd_reset_resume(struct hid_device *hdev)
> +static int appletb_kbd_resume(struct hid_device *hdev)
>  {
>  	struct appletb_kbd *kbd = hid_get_drvdata(hdev);
>  
> @@ -503,7 +503,8 @@ static struct hid_driver appletb_kbd_hid_driver = {
>  	.input_configured = appletb_kbd_input_configured,
>  #ifdef CONFIG_PM
>  	.suspend = appletb_kbd_suspend,
> -	.reset_resume = appletb_kbd_reset_resume,
> +	.resume = appletb_kbd_resume,
> +	.reset_resume = appletb_kbd_resume,
>  #endif
>  	.driver.dev_groups = appletb_kbd_groups,
>  };
> -- 
> 2.52.0
> 
> 

What is the git id of this change?

thanks,

greg k-h

  reply	other threads:[~2026-03-20 17:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-20  8:47 FAILED: patch "[PATCH] HID: appletb-kbd: add .resume method in PM" failed to apply to 6.18-stable tree gregkh
2026-03-20  8:58 ` [PATCH 6.18.y] HID: appletb-kbd: add .resume method in PM Aditya Garg
2026-03-20 17:03   ` Greg KH [this message]
2026-03-20 17:09     ` Aditya Garg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2026032041-scanner-appealing-996c@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=gargaditya08@live.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox