diff options
author | Yuntao Liu <liuyuntao12@huawei.com> | 2024-08-15 12:38:53 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-08-28 23:20:05 +0300 |
commit | 55c312c1b2be6d43e39c280ad6ab4b711e545b89 (patch) | |
tree | dbc5d5c870594f98ec915fab64b092f44a6e45c7 /rust/helpers/build_bug.c | |
parent | 9d6e9f10e2e031fb7bfb3030a7d1afc561a28fea (diff) | |
download | linux-55c312c1b2be6d43e39c280ad6ab4b711e545b89.tar.xz |
clk: starfive: Use pm_runtime_resume_and_get to fix pm_runtime_get_sync() usage
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: dae5448a327ed ("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>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions