]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcf5e0bed44dc5d403bd0468485f504da4f1b37d3
treeaaf15b69533f4b8cd96dec1e4579d8138e7b555b
parent2f1b9f4a61f83a21db17afa44c357fbc27e897c0
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