linux/sound/hda
Slavin Liu c9e6e5f38b ALSA: hda: trace PCM open only after assigning a stream
Stream assignment can fail when hardware streams are exhausted.
Move the tracepoint after the NULL check because its payload accesses
the assigned stream tag.

Detected by static analysis and reviewed with AI-assisted source auditing.

Fixes: 184865085b ("ALSA: hda - rename hda_intel_trace.h to hda_controller_trace.h")
Assisted-by: LLM
Signed-off-by: Slavin Liu <bolin.liu@seu.edu.cn>
Link: https://patch.msgid.link/20260913125154.109944-1-bolin.liu@seu.edu.cn
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2026-09-14 18:09:41 +02:00
..
codecs ALSA: hda/realtek: Enable mute LEDs on HP OmniBook 7 17-dc0xxx 2026-09-14 17:51:13 +02:00
common ALSA: hda: trace PCM open only after assigning a stream 2026-09-14 18:09:41 +02:00
controllers ALSA: hda: Add Lisuan HDMI controller and codec support 2026-08-17 13:51:02 +02:00
core ASoC: Fixes for v7.3 2026-09-09 15:09:55 +02:00
Kconfig ALSA: hda: Move codec drivers into sound/hda/codecs directory 2025-07-11 09:55:37 +02:00
Makefile ALSA: hda: Drop old codec binding method 2025-07-11 09:55:38 +02:00