]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
firmware: tegra: Move BPMP resume to noirq phase
authorVidya Sagar <vidyas@nvidia.com>
Fri, 2 Aug 2019 06:17:27 +0000 (11:47 +0530)
committerThierry Reding <treding@nvidia.com>
Tue, 1 Oct 2019 14:38:45 +0000 (16:38 +0200)
Modules like PCIe in Tegra194 need BPMP firmware services in noirq phase
and hence move BPMP resume to noirq phase.
This patch is verified on Tegra210, Tegra186 and Tegra194.

Signed-off-by: Vidya Sagar <vidyas@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/firmware/tegra/bpmp.c

index 19c56133234b335e42982ac7bdea6d9f74d57efb..6741fcda0c37043665e9b38e97a32056ea0424d7 100644 (file)
@@ -804,7 +804,7 @@ static int __maybe_unused tegra_bpmp_resume(struct device *dev)
 }
 
 static const struct dev_pm_ops tegra_bpmp_pm_ops = {
-       .resume_early = tegra_bpmp_resume,
+       .resume_noirq = tegra_bpmp_resume,
 };
 
 #if IS_ENABLED(CONFIG_ARCH_TEGRA_186_SOC) || \