From 872ad29e83fa9d3810df219e970aee25479b39bf Mon Sep 17 00:00:00 2001 From: Akhil R Date: Wed, 22 Jun 2022 10:53:13 +0530 Subject: [PATCH] NVIDIA: SAUCE: gpio: pca953x: Use NOIRQ suspend/resume for PM BugLink: https://bugs.launchpad.net/bugs/2080908 Use NOIRQ suspend/resume for PM since the GPIOs are required to resume PCIe. http://nvbugs/3676237 http://nvbugs/3681805 http://nvbugs/4765610 Signed-off-by: Akhil R Tested-by: Petlozu Pravareshwar Signed-off-by: Laxman Dewangan Acked-by: Noah Wager Acked-by: Jacob Martin Signed-off-by: Noah Wager --- drivers/gpio/gpio-pca953x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-pca953x.c b/drivers/gpio/gpio-pca953x.c index 32a1243e9b70..562702467b3e 100644 --- a/drivers/gpio/gpio-pca953x.c +++ b/drivers/gpio/gpio-pca953x.c @@ -1252,7 +1252,7 @@ static int pca953x_resume(struct device *dev) return ret; } -static DEFINE_SIMPLE_DEV_PM_OPS(pca953x_pm_ops, pca953x_suspend, pca953x_resume); +static DEFINE_NOIRQ_DEV_PM_OPS(pca953x_pm_ops, pca953x_suspend, pca953x_resume); /* convenience to stop overlong match-table lines */ #define OF_653X(__nrgpio, __int) ((void *)(__nrgpio | PCAL653X_TYPE | __int))