diff options
author | 2023-10-03 17:55:55 +0200 | |
---|---|---|
committer | 2023-10-09 13:03:35 +0100 | |
commit | 69a026a2357ee69983690d07976de44ef26ee38a (patch) | |
tree | 12ddc95076a0b19ad5ae2e8572c64eea755e7431 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: codecs: wcd938x: fix resource leaks on bind errors (diff) | |
download | wireguard-linux-69a026a2357ee69983690d07976de44ef26ee38a.tar.xz wireguard-linux-69a026a2357ee69983690d07976de44ef26ee38a.zip |
ASoC: codecs: wcd938x: fix regulator leaks on probe errors
Make sure to disable and free the regulators on probe errors and on
driver 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-5-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