diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-07-05 15:30:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-06 15:46:29 +0300 |
commit | 798590cc7d3c2b5f3a7548d96dd4d8a081c1bc39 (patch) | |
tree | 54e535a673f65b25a22343568e5fc9ee9e8b8808 /io_uring | |
parent | a3406f87775fee986876e03f93a84385f54d5999 (diff) | |
download | linux-798590cc7d3c2b5f3a7548d96dd4d8a081c1bc39.tar.xz |
ASoC: codecs: wcd934x: fix resource leaks on component remove
Make sure to release allocated MBHC resources also on component remove.
This is specifically needed to allow probe deferrals of the sound card
which otherwise fails when reprobing the codec component.
Fixes: 9fb9b1690f0b ("ASoC: codecs: wcd934x: add mbhc support")
Cc: stable@vger.kernel.org # 5.14
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230705123018.30903-6-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'io_uring')
0 files changed, 0 insertions, 0 deletions