Skip to content

ALSA: hda: Stream setup fixes

Cezary Rojewski alsa-devel 1 version Applied

Status from this message: Applied all three patches now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3ALSA: hda: Fix possible null-ptr-deref when assigning a streamsound/hda/hdac_stream.c+4 -20 replies
2/3ALSA: hda: Fix stream fifo_size initializationsound/hda/hdac_stream.c sound/pci/hda/hda_intel.c+2 -20 replies
3/3ALSA: hda: Add code_loading parameter to stream setupinclude/sound/hdaudio.h include/sound/hdaudio_ext.h sound/hda/ext/hdac_ext_stream.c +5 more+26 -211 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchMark Brown
1/3
2/3
3/3A-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] ALSA: hda: Stream setup fixes

Follow up to the recent hdac_stream-related series of mine [1]. Addresses three topics:

- false-positive timeout (-110) messages that appear during firmware loading procedure
- null-ptr-deref when assigning stub substream of COUPLED type. 'Stub' as precisely those kind of substreams are utilized for code-loading procedure
- hstream->fifo_size initialization, superfluous '+1'

The two fixes lead the way, there is no dependency of patch 3/3 on either of them.

[1]: https://lore.kernel.org/alsa-devel/[email protected]/

Cezary Rojewski (3):
ALSA: hda: Fix possible null-ptr-deref when assigning a stream
ALSA: hda: Fix stream fifo_size initialization
ALSA: hda: Add code_loading parameter to stream setup

 include/sound/hdaudio.h           |  2 +-
 include/sound/hdaudio_ext.h       |  4 ++--
 sound/hda/ext/hdac_ext_stream.c   | 12 +++++++-----
 sound/hda/hdac_stream.c           | 27 ++++++++++++++++-----------
 sound/pci/hda/hda_controller.c    |  2 +-
 sound/pci/hda/hda_intel.c         |  2 +-
 sound/soc/intel/avs/pcm.c         |  2 +-
 sound/soc/intel/avs/probes.c      |  2 +-
 sound/soc/intel/skylake/skl-pcm.c |  2 +-
 9 files changed, 31 insertions(+), 24 deletions(-)
Signature · 1 line
2.25.1