diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2021-07-19 00:27:05 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-08-11 12:51:39 +0300 |
commit | 9c93ccfc86f2cdeab8a34408759abad594e439b9 (patch) | |
tree | 35ffbc7de3594e3b3548e0733ea13887e578c6bd /arch/arm/mach-tegra/tegra.c | |
parent | 158a9b47a491dd73e73a306e962d4c9a01270132 (diff) | |
download | linux-9c93ccfc86f2cdeab8a34408759abad594e439b9.tar.xz |
soc/tegra: pmc: Prevent racing with cpuilde driver
Both PMC and cpuidle drivers are probed at the same init level and
cpuidle depends on the PMC suspend mode. Add new default suspend mode
that indicates whether PMC driver has been probed and reset the mode in
a case of deferred probe of the PMC driver.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/tegra.c')
-rw-r--r-- | arch/arm/mach-tegra/tegra.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/tegra.c b/arch/arm/mach-tegra/tegra.c index c011359bcdb4..ab5008f35803 100644 --- a/arch/arm/mach-tegra/tegra.c +++ b/arch/arm/mach-tegra/tegra.c @@ -84,8 +84,6 @@ static void __init tegra_dt_init(void) static void __init tegra_dt_init_late(void) { - tegra_init_suspend(); - if (IS_ENABLED(CONFIG_ARCH_TEGRA_2x_SOC) && of_machine_is_compatible("compal,paz00")) tegra_paz00_wifikill_init(); |