mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
pinctrl: tegra: Use noirq suspend/resume callbacks
[ Upstream commit 782b6b6984 ]
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 <vidyas@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20200604174935.26560-1-vidyas@nvidia.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
@@ -685,8 +685,8 @@ static int tegra_pinctrl_resume(struct device *dev)
|
||||
}
|
||||
|
||||
const struct dev_pm_ops tegra_pinctrl_pm = {
|
||||
.suspend = &tegra_pinctrl_suspend,
|
||||
.resume = &tegra_pinctrl_resume
|
||||
.suspend_noirq = &tegra_pinctrl_suspend,
|
||||
.resume_noirq = &tegra_pinctrl_resume
|
||||
};
|
||||
|
||||
static bool gpio_node_has_range(const char *compatible)
|
||||
|
||||
Reference in New Issue
Block a user