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 <akhilrajeev@nvidia.com>
Tested-by: Petlozu Pravareshwar <petlozup@nvidia.com>
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Noah Wager <noah.wager@canonical.com>
Acked-by: Jacob Martin <jacob.martin@canonical.com>
Signed-off-by: Noah Wager <noah.wager@canonical.com>
This commit is contained in:
Akhil R
2022-06-22 10:53:13 +05:30
committed by Noah Wager
parent 2ca6c5cd4a
commit 872ad29e83
+1 -1
View File
@@ -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))