summaryrefslogtreecommitdiffstats
path: root/sound/soc/sti
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-10-03 17:55:55 +0200
committerMark Brown <broonie@kernel.org>2023-10-09 14:03:35 +0200
commit69a026a2357ee69983690d07976de44ef26ee38a (patch)
tree12ddc95076a0b19ad5ae2e8572c64eea755e7431 /sound/soc/sti
parentASoC: codecs: wcd938x: fix resource leaks on bind errors (diff)
downloadlinux-69a026a2357ee69983690d07976de44ef26ee38a.tar.xz
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 'sound/soc/sti')
0 files changed, 0 insertions, 0 deletions