Skip to content

ASoC: SOF: Fixes for Intel HD-Audio DMA stopping

Kai Vehmanen alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10ASoC: SOF: Intel: hda: clear stream before freeing the DAI widgetsound/soc/sof/intel/hda-dai.c+3 -20 replies
2/10ASoC: SOF: Intel: hda: Add a helper function for stream resetsound/soc/sof/intel/hda-stream.c sound/soc/sof/intel/hda.h+46 -320 replies
3/10ASoC: SOF: Intel: hda: reset stream before coupling host and link DMA'ssound/soc/sof/intel/hda-stream.c+5 -00 replies
4/10ASoC: SOF: pcm: invoke platform hw_free for STOP/SUSPEND triggerssound/soc/sof/pcm.c+4 -00 replies
5/10ASoC: SOF: call platform hw_free for paused streams during suspendsound/soc/sof/sof-audio.c+7 -00 replies
6/10ASoC: SOF: Add a helper for freeing PCM streamsound/soc/sof/pcm.c sound/soc/sof/sof-audio.c sound/soc/sof/sof-audio.h+30 -230 replies
7/10ASoC: SOF: pcm: move the check for prepared flagsound/soc/sof/pcm.c+9 -100 replies
8/10ASoC: SOF: align the hw_free sequence with stopsound/soc/sof/pcm.c+9 -50 replies
9/10ASoC: SOF: IPC: dai: Expand DAI_CONFIG IPC flagsinclude/sound/sof/dai.h sound/soc/sof/intel/hda-dai.c sound/soc/sof/intel/hda.c +2 more+44 -210 replies
10/10ASoC: SOF: Intel: hda: send DAI_CONFIG IPC during pausesound/soc/sof/intel/hda-dai.c+37 -50 replies

Reviews trailers per patch

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

PatchPierre-Louis Bossart
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-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 00/10] ASoC: SOF: Fixes for Intel HD-Audio DMA stopping

Implement an updated programming sequence to handle DMA stop for Intel HD-Audio DMA.

The new flow is only used if the firmware is sufficiently new to support the feature. SOF1.9.2 is the first release with the updated flow. The kernel changes are backwards compatible with old firmware releases. Likewise new firmware releases will work with old kernel.

Series reviewed originally at:
https://github.com/thesofproject/linux/pull/3167

Ranjani Sridharan (10):
ASoC: SOF: Intel: hda: clear stream before freeing the DAI widget
ASoC: SOF: Intel: hda: Add a helper function for stream reset
ASoC: SOF: Intel: hda: reset stream before coupling host and link
DMA's
ASoC: SOF: pcm: invoke platform hw_free for STOP/SUSPEND triggers
ASoC: SOF: call platform hw_free for paused streams during suspend
ASoC: SOF: Add a helper for freeing PCM stream
ASoC: SOF: pcm: move the check for prepared flag
ASoC: SOF: align the hw_free sequence with stop
ASoC: SOF: IPC: dai: Expand DAI_CONFIG IPC flags
ASoC: SOF: Intel: hda: send DAI_CONFIG IPC during pause

 include/sound/sof/dai.h          | 25 +++++++---
 sound/soc/sof/intel/hda-dai.c    | 53 +++++++++++++++++----
 sound/soc/sof/intel/hda-stream.c | 81 +++++++++++++++++++-------------
 sound/soc/sof/intel/hda.c        | 26 ++++++----
 sound/soc/sof/intel/hda.h        |  6 ++-
 sound/soc/sof/pcm.c              | 36 +++++++-------
 sound/soc/sof/sof-audio.c        | 35 ++++++++++----
 sound/soc/sof/sof-audio.h        |  2 +
 8 files changed, 180 insertions(+), 84 deletions(-)

base-commit: cd2f33e93d578e9e1c47ef8981ec69298da9cb38

Signature · 1 line
2.33.0