Commit d8edf528 authored by Sowjanya Komatineni's avatar Sowjanya Komatineni Committed by Thierry Reding

clk: tegra: clk-dfll: Remove call to pm_runtime_irq_safe()

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: default avatarSowjanya Komatineni <skomatineni@nvidia.com>
Reviewed-by: default avatarDmitry Osipenko <digetx@gmail.com>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent bf83b96f
...@@ -1487,7 +1487,6 @@ static int dfll_init(struct tegra_dfll *td) ...@@ -1487,7 +1487,6 @@ static int dfll_init(struct tegra_dfll *td)
td->last_unrounded_rate = 0; td->last_unrounded_rate = 0;
pm_runtime_enable(td->dev); pm_runtime_enable(td->dev);
pm_runtime_irq_safe(td->dev);
pm_runtime_get_sync(td->dev); pm_runtime_get_sync(td->dev);
dfll_set_mode(td, DFLL_DISABLED); dfll_set_mode(td, DFLL_DISABLED);
...@@ -1516,7 +1515,7 @@ static int dfll_init(struct tegra_dfll *td) ...@@ -1516,7 +1515,7 @@ static int dfll_init(struct tegra_dfll *td)
/** /**
* tegra_dfll_suspend - check DFLL is disabled * tegra_dfll_suspend - check DFLL is disabled
* @dev: DFLL device * * @dev: DFLL instance
* *
* DFLL clock should be disabled by the CPUFreq driver. So, make * DFLL clock should be disabled by the CPUFreq driver. So, make
* sure it is disabled and disable all clocks needed by the DFLL. * sure it is disabled and disable all clocks needed by the DFLL.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment