summaryrefslogtreecommitdiffstats
path: root/sound/aoa
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-10-03 17:55:57 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-25 12:03:05 +0200
commit0d912daab475d309c0cb800e1cb9175d9be17cfd (patch)
tree12c47d9554a6651b12a88e9876f77a44b033166d /sound/aoa
parentd496b6638c2023a0b04c102b7a8d0c2dee0e4ab0 (diff)
downloadlinux-stable-0d912daab475d309c0cb800e1cb9175d9be17cfd.tar.gz
linux-stable-0d912daab475d309c0cb800e1cb9175d9be17cfd.tar.bz2
linux-stable-0d912daab475d309c0cb800e1cb9175d9be17cfd.zip
ASoC: codecs: wcd938x-sdw: fix use after free on driver unbind
commit f0dfdcbe706462495d47982eecd13a61aabd644d upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/aoa')
0 files changed, 0 insertions, 0 deletions