Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Sowjanya Komatineni <skomatineni@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>

authored by

Sowjanya Komatineni and committed by
Thierry Reding
d8edf528 bf83b96f

+1 -2
+1 -2
drivers/clk/tegra/clk-dfll.c
··· 1487 1487 td->last_unrounded_rate = 0; 1488 1488 1489 1489 pm_runtime_enable(td->dev); 1490 - pm_runtime_irq_safe(td->dev); 1491 1490 pm_runtime_get_sync(td->dev); 1492 1491 1493 1492 dfll_set_mode(td, DFLL_DISABLED); ··· 1515 1516 1516 1517 /** 1517 1518 * tegra_dfll_suspend - check DFLL is disabled 1518 - * @dev: DFLL device * 1519 + * @dev: DFLL instance 1519 1520 * 1520 1521 * DFLL clock should be disabled by the CPUFreq driver. So, make 1521 1522 * sure it is disabled and disable all clocks needed by the DFLL.