diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-05-18 12:45:14 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:15:55 +0200 |
commit | e784b66299dd9fa764d4969ca987493e14597534 (patch) | |
tree | 39d06b56e3a0bb6864f0c8be03b18f7b8731d545 /sound/hda | |
parent | 51ef21934d1cc8e8af434a3d8429baeb41a4a91f (diff) | |
download | linux-stable-e784b66299dd9fa764d4969ca987493e14597534.tar.gz linux-stable-e784b66299dd9fa764d4969ca987493e14597534.tar.bz2 linux-stable-e784b66299dd9fa764d4969ca987493e14597534.zip |
ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
[ Upstream commit 375904e3931955fcf0a847f029b2492a117efc43 ]
After calling clk_prepare_enable(), clk_disable_unprepare() need
be called when calling clk_set_rate() failed.
Fixes: 0bf750f4cbe1 ("ASoC: hisilicon: Add hi6210 i2s audio driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210518044514.607010-1-yangyingliang@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'sound/hda')
0 files changed, 0 insertions, 0 deletions