summaryrefslogtreecommitdiff
path: root/drivers/clk/bcm
diff options
context:
space:
mode:
authorChen-Yu Tsai <wenst@chromium.org>2022-08-22 16:14:24 +0800
committerStephen Boyd <sboyd@kernel.org>2022-08-22 16:17:46 -0700
commit4b592061f7b3971c70e8b72fc42aaead47c24701 (patch)
tree2ff01561de4bd8fb961112b3803b3f9bbda0bbcf /drivers/clk/bcm
parent35b0fac808b95eea1212f8860baf6ad25b88b087 (diff)
clk: core: Fix runtime PM sequence in clk_core_unprepare()
In the original commit 9a34b45397e5 ("clk: Add support for runtime PM"), the commit message mentioned that pm_runtime_put_sync() would be done at the end of clk_core_unprepare(). This mirrors the operations in clk_core_prepare() in the opposite order. However, the actual code that was added wasn't in the order the commit message described. Move clk_pm_runtime_put() to the end of clk_core_unprepare() so that it is in the correct order. Fixes: 9a34b45397e5 ("clk: Add support for runtime PM") Signed-off-by: Chen-Yu Tsai <wenst@chromium.org> Reviewed-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Link: https://lore.kernel.org/r/20220822081424.1310926-3-wenst@chromium.org Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/bcm')
0 files changed, 0 insertions, 0 deletions