Skip to content

ALSA: hda: Abstract and update HOST-stream setup procedure

Cezary Rojewski alsa-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesIn review
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 3 repliesSuperseded

Changes in v3 from the cover letter

- fixed issues pointed out by scripts/kernel-doc

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4ALSA: hda: Poll SDxFIFOS after programming SDxFMTinclude/sound/hda_register.h include/sound/hdaudio.h sound/hda/hdac_stream.c+13 -01 reply
2/4ALSA: hda: Introduce HOST stream setup mechanisminclude/sound/hdaudio_ext.h sound/hda/ext/hdac_ext_stream.c+44 -00 replies
3/4ASoC: Intel: avs: Use helper to setup HOST streamsound/soc/intel/avs/pcm.c+1 -10 replies
4/4ASoC: Intel: Skylake: Use helper to setup HOST streamsound/soc/intel/skylake/skl-pcm.c+1 -130 replies

Reviews trailers per patch

2 of 4 patches have a Reviewed-by or Acked-by.

PatchMark Brown
1/4
2/4
3/4A-b
4/4A-b

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

Read the v3 thread

Cover letter [PATCH v3 0/4] ALSA: hda: Abstract and update HOST-stream setup procedure

The patchset targets two intertwined topics:

The driver shall poll SDxFIFOS to ensure a valid value is set by the controller after programming SDxFMT. Due to amount of users and limited-number of configuration available in our CI when compared to overall possibilities on the market, the check is non-blocking.

Second topic relates to stream setup procedure. The procedure differs between HDAudio controller device revisions. Right now those differences are handled directly by a platform driver. Existing top-level 'if (pci->device == APL)' could be replaced by a abstraction in lower parts of the code instead.

With that done, the two users are updated accordingly. In avs-driver case, this updates the flow to the recommended one.

Changes in v3:
- fixed issues pointed out by scripts/kernel-doc

Changes in v2:
- fixed ->host_setup assignment in patch 02/04

Cezary Rojewski (4):
ALSA: hda: Poll SDxFIFOS after programming SDxFMT
ALSA: hda: Introduce HOST stream setup mechanism
ASoC: Intel: avs: Use helper to setup HOST stream
ASoC: Intel: Skylake: Use helper to setup HOST stream

 include/sound/hda_register.h      |  2 ++
 include/sound/hdaudio.h           |  3 +++
 include/sound/hdaudio_ext.h       |  3 +++
 sound/hda/ext/hdac_ext_stream.c   | 41 +++++++++++++++++++++++++++++++
 sound/hda/hdac_stream.c           |  8 ++++++
 sound/soc/intel/avs/pcm.c         |  2 +-
 sound/soc/intel/skylake/skl-pcm.c | 14 +----------
 7 files changed, 59 insertions(+), 14 deletions(-)
Signature · 1 line
2.25.1