]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 18 May 2021 07:58:47 +0000 (15:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 14 Jul 2021 15:00:13 +0000 (17:00 +0200)
commit49a7741b6f4f7eba624b59195774ef8d2b1f204e
tree693f19309059496d849c8db1b1cd959e2974885c
parent3011c6a486f93aaa4d36842d1f1c6406325c4b37
ASoC: rk3328: fix missing clk_disable_unprepare() on error in rk3328_platform_probe()

[ Upstream commit d14eece945a8068a017995f7512ea2beac21e34b ]

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

Fixes: c32759035ad2 ("ASoC: rockchip: support ACODEC for rk3328")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210518075847.1116983-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rk3328_codec.c