]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rk817: Fix missing clk_disable_unprepare() in rk817_platform_probe
authorMiaoqian Lin <linmq006@gmail.com>
Mon, 7 Mar 2022 09:01:30 +0000 (09:01 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 8 Mar 2022 12:32:01 +0000 (12:32 +0000)
commitd7374677c2279c9c05ce0a0d5f4a5acaa800aea5
tree0a5377d8a24e53733954c006bcfa32933207328a
parentc3eee37f7e52629a665fa64d2ec5120c01ac2ccb
ASoC: rk817: Fix missing clk_disable_unprepare() in rk817_platform_probe

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

Fixes: 2bbd13c02eb8 ("ASoC: Add Rockchip rk817 audio CODEC support")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Tested-by: Chris Morgan <macromorgan@hotmail.com>
Link: https://lore.kernel.org/r/20220307090146.4104-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rk817_codec.c