linux-yocto/drivers/clk/starfive
Yuntao Liu 521d101e9e clk: starfive: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
[ Upstream commit 55c312c1b2 ]

We need to call pm_runtime_put_noidle() when pm_runtime_get_sync()
fails, so use pm_runtime_resume_and_get() instead. this function
will handle this.

Fixes: dae5448a32 ("clk: starfive: Add StarFive JH7110 Video-Output clock driver")
Signed-off-by: Yuntao Liu <liuyuntao12@huawei.com>
Link: https://lore.kernel.org/r/20240815093853.757487-1-liuyuntao12@huawei.com
Reviewed-by: Xingyu Wu <xingyu.wu@starfivetech.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-04 16:29:31 +02:00
..
clk-starfive-jh71x0.c
clk-starfive-jh71x0.h clk: starfive: jh7110-sys: Add notifier for PLL0 clock 2024-09-12 11:11:26 +02:00
clk-starfive-jh7100-audio.c
clk-starfive-jh7100.c
clk-starfive-jh7110-aon.c
clk-starfive-jh7110-isp.c
clk-starfive-jh7110-pll.c
clk-starfive-jh7110-stg.c
clk-starfive-jh7110-sys.c clk: starfive: jh7110-sys: Add notifier for PLL0 clock 2024-09-12 11:11:26 +02:00
clk-starfive-jh7110-vout.c clk: starfive: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage 2024-10-04 16:29:31 +02:00
clk-starfive-jh7110.h
Kconfig
Makefile