Skip to content

ASoC: stm32: sai: fix device and OF node leaks on probe

Johan Hovold linux-sound lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ASoC: stm32: sai: fix device leak on probesound/soc/stm/stm32_sai.c+1 -11 reply
2/4ASoC: stm32: sai: fix clk prepare imbalance on probe failuresound/soc/stm/stm32_sai_sub.c+21 -71 reply
3/4ASoC: stm32: sai: fix OF node leak on probesound/soc/stm/stm32_sai.c sound/soc/stm/stm32_sai_sub.c+19 -161 reply
4/4ASoC: stm32: sai: clean up probe error pathsound/soc/stm/stm32_sai_sub.c+4 -41 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

Patcholivier moysan
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] ASoC: stm32: sai: fix device and OF node leaks on probe

This series fixes device and OF node reference leaks during probe and a clock prepare imbalance on probe failures.

Included is a related cleanup of an error path.

Johan

Johan Hovold (4):
ASoC: stm32: sai: fix device leak on probe
ASoC: stm32: sai: fix clk prepare imbalance on probe failure
ASoC: stm32: sai: fix OF node leak on probe
ASoC: stm32: sai: clean up probe error path

 sound/soc/stm/stm32_sai.c     | 14 +++------
 sound/soc/stm/stm32_sai_sub.c | 57 ++++++++++++++++++++++++-----------
 2 files changed, 44 insertions(+), 27 deletions(-)
Signature · 1 line
2.51.2