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)
commitd2249bf25c565b6e310453962fef63f8d38677a6
tree2efbd4b86eaf341b5aca3cf174e94cabaf8d80b9
parentda9c43dc0e2ec5c42a3d414e389feb30467000e2
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: edab812d802d ("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