Skip to content

ASoC: SOF: Correct sps->stream and cstream nullity management

Peter Ujfalusi linux-sound stable 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 1 replyIn review
  2. v2 posting 1/22 patches 2 repliesSuperseded
  3. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- fix the SHA of the Fixes tag

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()sound/soc/sof/stream-ipc.c+5 -10 replies
2/2ASoC: SOF: pcm: Clear the susbstream pointer to NULL on closesound/soc/sof/pcm.c+2 -00 replies

Reviews trailers per patch

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

PatchDaniel BalutaRanjani SridharanBard LiaoCurtis Malainey
1/2R-b R-b R-b R-b
2/2R-b R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] ASoC: SOF: Correct sps->stream and cstream nullity management

Hi,

Changes since v1:
- fix the SHA of the Fixes tag

The Nullity of sps->cstream needs to be checked in sof_ipc_msg_data() and not assume that it is not NULL.
The sps->stream must be cleared to NULL on close since this is used as a check to see if we have active PCM stream.

Regards,
Peter
---
Peter Ujfalusi (2):
ASoC: SOF: stream-ipc: Check for cstream nullity in sof_ipc_msg_data()
ASoC: SOF: pcm: Clear the susbstream pointer to NULL on close

 sound/soc/sof/pcm.c        | 2 ++
 sound/soc/sof/stream-ipc.c | 6 +++++-
 2 files changed, 7 insertions(+), 1 deletion(-)
Signature · 1 line
2.48.1