]> git.baikalelectronics.ru Git - kernel.git/commit
clk: Enable/Disable runtime PM for clk_summary
authorTaniya Das <tdas@codeaurora.org>
Mon, 20 Dec 2021 16:43:55 +0000 (22:13 +0530)
committerStephen Boyd <sboyd@kernel.org>
Thu, 6 Jan 2022 01:20:23 +0000 (17:20 -0800)
commit632b5c68dd0e3ce451cc53b9a166bdebb65fb895
tree89d5e852c611ac204529d40a8ac2c2195967ad26
parentf6ff55e359fae4978ea6553d3d8a01b4e7f8efbf
clk: Enable/Disable runtime PM for clk_summary

The registers for some clocks in the SOC area, which are under the power
domain are required to be enabled before accessing them. During the
clk_summary if the power-domains are not enabled they could result into
NoC errors.

Thus ensure the register access of the clock controller is done with
pm_untime_get/put functions.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
Link: https://lore.kernel.org/r/1640018638-19436-3-git-send-email-tdas@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c