soc: mediatek: fix missing clk_disable_unprepare() on err in svs_resume()
authorPeng Wu <wupeng58@huawei.com>
Thu, 23 Jun 2022 07:02:40 +0000 (07:02 +0000)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 23 Jun 2022 08:50:53 +0000 (10:50 +0200)
commita825d72f74a318b479da7b79ba5e1611ccfc511f
treeaaf15b69533f4b8cd96dec1e4579d8138e7b555b
parent44e36d7552760716525a8aba62a6bcbd48f3559d
soc: mediatek: fix missing clk_disable_unprepare() on err in svs_resume()

Fix the missing clk_disable_unprepare() before return
from svs_resume() in the error handling case.

Signed-off-by: Peng Wu <wupeng58@huawei.com>
Reported-by: Hulk Robot <hulkci@huawei.com>
Link: https://lore.kernel.org/r/20220623070240.63382-1-wupeng58@huawei.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
drivers/soc/mediatek/mtk-svs.c