diff options
author | 2023-10-03 17:55:54 +0200 | |
---|---|---|
committer | 2023-10-09 13:03:34 +0100 | |
commit | da29b94ed3547cee9d510d02eca4009f2de476cf (patch) | |
tree | 0eb4882865259b286b8f66a6ac54ea4950ef7b29 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: codecs: wcd938x: fix unbind tear down order (diff) | |
download | wireguard-linux-da29b94ed3547cee9d510d02eca4009f2de476cf.tar.xz wireguard-linux-da29b94ed3547cee9d510d02eca4009f2de476cf.zip |
ASoC: codecs: wcd938x: fix resource leaks on bind errors
Add the missing code to release resources on bind errors, including the
references taken by wcd938x_sdw_device_get() which also need to be
dropped on unbind().
Fixes: 16572522aece ("ASoC: codecs: wcd938x-sdw: add SoundWire driver")
Cc: stable@vger.kernel.org # 5.14
Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20231003155558.27079-4-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions