diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-05-18 06:45:14 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-05-18 15:04:32 +0200 |
commit | 375904e3931955fcf0a847f029b2492a117efc43 (patch) | |
tree | 3177b2bddbf2c28bc1c20d7e3dac0e86a4e0b5c3 /sound/soc/meson | |
parent | ASoC: soc-core: use DEVICE_ATTR_RO macro (diff) | |
download | linux-375904e3931955fcf0a847f029b2492a117efc43.tar.xz linux-375904e3931955fcf0a847f029b2492a117efc43.zip |
ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup()
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>
Diffstat (limited to 'sound/soc/meson')
0 files changed, 0 insertions, 0 deletions