[PATCH RESEND v2 2/2] clk: core: Fix runtime PM sequence in clk_core_unprepare()
Stephen Boyd
sboyd at kernel.org
Mon Aug 22 16:18:15 PDT 2022
Quoting Chen-Yu Tsai (2022-08-22 01:14:24)
> 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 at chromium.org>
> Reviewed-by: Nícolas F. R. A. Prado <nfraprado at collabora.com>
> ---
Applied to clk-fixes
More information about the linux-arm-kernel
mailing list