]> 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)
commit6df8646ac0e7bc785f3c5ef30622df38ea79b560
tree2efbd4b86eaf341b5aca3cf174e94cabaf8d80b9
parente6b3cf3b622cf86d04cf7e5d92f3206772074304
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: f1876f0b1da1 ("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