]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
clk: tegra: clk-dfll: Remove call to pm_runtime_irq_safe()
authorSowjanya Komatineni <skomatineni@nvidia.com>
Tue, 12 Nov 2019 16:17:06 +0000 (08:17 -0800)
committerThierry Reding <treding@nvidia.com>
Fri, 10 Jan 2020 14:39:03 +0000 (15:39 +0100)
pm_runtime_irq_safe() is not needed as interrupts are allowed during
suspend and resume. This was added mistakenly during DFLL suspend and
resume support patch.

While at it, also update the description of the dev argument that is
passed to the tegra_dfll_suspend() function.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/clk/tegra/clk-dfll.c

index c051d92c2bbf339db28e47acbc9a5d14945a087a..cfbaa90c7adbf61533cab4a531205aea8f53bafd 100644 (file)
@@ -1487,7 +1487,6 @@ static int dfll_init(struct tegra_dfll *td)
        td->last_unrounded_rate = 0;
 
        pm_runtime_enable(td->dev);
-       pm_runtime_irq_safe(td->dev);
        pm_runtime_get_sync(td->dev);
 
        dfll_set_mode(td, DFLL_DISABLED);
@@ -1516,7 +1515,7 @@ static int dfll_init(struct tegra_dfll *td)
 
 /**
  * tegra_dfll_suspend - check DFLL is disabled
- * @dev: DFLL device *
+ * @dev: DFLL instance
  *
  * DFLL clock should be disabled by the CPUFreq driver. So, make
  * sure it is disabled and disable all clocks needed by the DFLL.