]> git.baikalelectronics.ru Git - kernel.git/commit
clk: qcom: lpass: Correct goto target in lpass_core_sc7180_probe()
authorJing Xiangfeng <jingxiangfeng@huawei.com>
Thu, 27 Aug 2020 14:16:29 +0000 (22:16 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 10 Sep 2020 20:42:35 +0000 (13:42 -0700)
commit92e37625cff549a6cd35ac3b75b79158514cbdff
tree2efbd4b86eaf341b5aca3cf174e94cabaf8d80b9
parent802932bbf05ae592455dfd2dd0ba682b919ac053
clk: qcom: lpass: Correct goto target in lpass_core_sc7180_probe()

lpass_core_sc7180_probe() misses to call pm_clk_destroy() and
pm_runtime_disable() in error paths. Correct goto target to fix it.
This issue is found by code inspection.

Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Link: https://lore.kernel.org/r/20200827141629.101802-1-jingxiangfeng@huawei.com
Fixes: 6312c114cf68 ("clk: qcom: lpass: Add support for LPASS clock controller for SC7180")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/qcom/lpasscorecc-sc7180.c