diff options
author | Johan Hovold <[email protected]> | 2023-07-05 14:30:15 +0200 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-07-06 13:46:29 +0100 |
commit | 798590cc7d3c2b5f3a7548d96dd4d8a081c1bc39 (patch) | |
tree | 54e535a673f65b25a22343568e5fc9ee9e8b8808 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | a3406f87775fee986876e03f93a84385f54d5999 (diff) |
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: [email protected] # 5.14
Cc: Srinivas Kandagatla <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Reviewed-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions