Skip to content

ASoC: codecs: rt*-sdw: memory leaks and simplifications

Pierre-Louis Bossart alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ASoC: codecs: rt*-sdw: don't assign slave_opssound/soc/codecs/rt1308-sdw.c sound/soc/codecs/rt5682-sdw.c sound/soc/codecs/rt700-sdw.c +2 more+0 -150 replies
2/3ASoC: codecs: rt*-sdw: fix memory leak in set_sdw_stream()sound/soc/codecs/rt1308-sdw.c sound/soc/codecs/rt5682.c sound/soc/codecs/rt700.c +2 more+15 -00 replies
3/3ASoC: codecs: rt1308-sdw: remove duplicate allocationsound/soc/codecs/rt1308-sdw.c+0 -50 replies

Reviews trailers per patch

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

PatchGuennadi LiakhovetskiRander Wang
1/3R-b R-b
2/3R-b R-b
3/3R-b R-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/3] ASoC: codecs: rt*-sdw: memory leaks and simplifications

While debugging unrelated memory corruption errors, I detected issues related to the interaction with the SoundWire and ASoC cores, here are 3 small patches to fix all this.

Pierre-Louis Bossart (3):
ASoC: codecs: rt*-sdw: don't assign slave_ops
ASoC: codecs: rt*-sdw: fix memory leak in set_sdw_stream()
ASoC: codecs: rt1308-sdw: remove duplicate allocation

 sound/soc/codecs/rt1308-sdw.c | 11 +++--------
 sound/soc/codecs/rt5682-sdw.c |  3 ---
 sound/soc/codecs/rt5682.c     |  3 +++
 sound/soc/codecs/rt700-sdw.c  |  3 ---
 sound/soc/codecs/rt700.c      |  3 +++
 sound/soc/codecs/rt711-sdw.c  |  3 ---
 sound/soc/codecs/rt711.c      |  3 +++
 sound/soc/codecs/rt715-sdw.c  |  3 ---
 sound/soc/codecs/rt715.c      |  3 +++
 9 files changed, 15 insertions(+), 20 deletions(-)

base-commit: d731c1a0f935dbebf4a851e072f8c7309eb2b8c5

Signature · 1 line
2.20.1