summaryrefslogtreecommitdiff
path: root/rust/helpers/mm.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-11-27 14:50:57 +0100
committerMark Brown <broonie@kernel.org>2025-11-27 16:36:37 +0000
commit86dc090f737953f16f8dc60c546ae7854690d4f6 (patch)
tree960ebf2cb0b6274836a9fcc86707d368343c92d4 /rust/helpers/mm.c
parent6797540c8b76dd847466b9a8d6e635e6a2ac95d3 (diff)
ASoC: codecs: wcd939x: fix regmap leak on probe failure
The soundwire regmap that may be allocated during probe is not freed on late probe failures. Add the missing error handling. Fixes: be2af391cea0 ("ASoC: codecs: Add WCD939x Soundwire devices driver") Cc: stable@vger.kernel.org # 6.9 Cc: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://patch.msgid.link/20251127135057.2216-1-johan@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'rust/helpers/mm.c')
0 files changed, 0 insertions, 0 deletions