This is a note to let you know that I've just added the patch titled gpio: tpmx86: Move PM device over to irq domain to the 5.10-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: gpio-tpmx86-move-pm-device-over-to-irq-domain.patch and it can be found in the queue-5.10 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. commit b2c6a4ea45397a74a3666d6acfc2fa979dea6e3f Author: Marc Zyngier <maz@xxxxxxxxxx> Date: Tue Feb 1 12:03:07 2022 +0000 gpio: tpmx86: Move PM device over to irq domain [ Upstream commit 924610607f191bee4379bc3775b0fd025ad7e922 ] Move the reference to the device over to the irq domain. Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx> Acked-by: Bartosz Golaszewski <brgl@xxxxxxxx> Link: https://lore.kernel.org/r/20220201120310.878267-10-maz@xxxxxxxxxx Stable-dep-of: 08af509efdf8 ("gpio: tqmx86: store IRQ trigger type and unmask status separately") Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx> diff --git a/drivers/gpio/gpio-tqmx86.c b/drivers/gpio/gpio-tqmx86.c index 3e7270e122bf1..e8360921ee23a 100644 --- a/drivers/gpio/gpio-tqmx86.c +++ b/drivers/gpio/gpio-tqmx86.c @@ -285,7 +285,6 @@ static int tqmx86_gpio_probe(struct platform_device *pdev) u8 irq_status; irq_chip->name = chip->label; - irq_chip->parent_device = &pdev->dev; irq_chip->irq_mask = tqmx86_gpio_irq_mask; irq_chip->irq_unmask = tqmx86_gpio_irq_unmask; irq_chip->irq_set_type = tqmx86_gpio_irq_set_type; @@ -320,6 +319,8 @@ static int tqmx86_gpio_probe(struct platform_device *pdev) goto out_pm_dis; } + irq_domain_set_pm_device(girq->domain, dev); + dev_info(dev, "GPIO functionality initialized with %d pins\n", chip->ngpio);