diff options
author | Johan Hovold <johan+linaro@kernel.org> | 2023-10-03 17:55:57 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-09 14:03:36 +0200 |
commit | f0dfdcbe706462495d47982eecd13a61aabd644d (patch) | |
tree | ea0ea5f54b6158e9ecadfefe0f8b669e62aa12ac /arch/um/include | |
parent | ASoC: codecs: wcd938x: fix runtime PM imbalance on remove (diff) | |
download | linux-f0dfdcbe706462495d47982eecd13a61aabd644d.tar.xz linux-f0dfdcbe706462495d47982eecd13a61aabd644d.zip |
ASoC: codecs: wcd938x-sdw: fix use after free on driver unbind
Make sure to deregister the component when the driver is being unbound
and before the underlying device-managed resources are freed.
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-7-johan+linaro@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'arch/um/include')
0 files changed, 0 insertions, 0 deletions