Skip to content

Commit 782b6b6

Browse files
Vidya Sagarlinusw
authored andcommitted
pinctrl: tegra: Use noirq suspend/resume callbacks
Use noirq suspend/resume callbacks as other drivers which implement noirq suspend/resume callbacks (Ex:- PCIe) depend on pinctrl driver to configure the signals used by their respective devices in the noirq phase. Signed-off-by: Vidya Sagar <[email protected]> Reviewed-by: Dmitry Osipenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
1 parent 5e50311 commit 782b6b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/pinctrl/tegra/pinctrl-tegra.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,8 +731,8 @@ static int tegra_pinctrl_resume(struct device *dev)
731731
}
732732

733733
const struct dev_pm_ops tegra_pinctrl_pm = {
734-
.suspend = &tegra_pinctrl_suspend,
735-
.resume = &tegra_pinctrl_resume
734+
.suspend_noirq = &tegra_pinctrl_suspend,
735+
.resume_noirq = &tegra_pinctrl_resume
736736
};
737737

738738
static bool tegra_pinctrl_gpio_node_has_range(struct tegra_pmx *pmx)

0 commit comments

Comments
 (0)