linux/sound/hda/common
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
..
auto_parser.c ALSA: hda: Drop index handling from snd_hda_get_pin_label() 2026-07-30 17:46:38 +02:00
beep.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
bind.c ALSA: hda: Use the new helper for PCM instance refcount 2026-06-11 09:34:09 +02:00
codec.c ALSA: hda: Report a change when only the channel status bytes move 2026-09-08 16:23:16 +02:00
controller_trace.h
controller.c ALSA: hda: trace PCM open only after assigning a stream 2026-09-14 18:09:41 +02:00
hda_auto_parser.h ALSA: hda: Drop index handling from snd_hda_get_pin_label() 2026-07-30 17:46:38 +02:00
hda_beep.h
hda_controller.h ALSA: hda/intel: Make sure to cancel irq-pending work at closing PCM stream 2026-05-20 07:50:45 +02:00
hda_jack.h ALSA: hda - fix function names & missing function parameter 2026-01-07 09:05:50 +01:00
hda_local.h ALSA: hda: Add hda_append_suffix() local helper 2026-07-31 08:39:51 +02:00
hwdep.c
jack.c ALSA: hda: Add hda_append_suffix() local helper 2026-07-31 08:39:51 +02:00
Kconfig
Makefile
proc.c ALSA: hda: Fix connection list comparison in proc output 2026-08-18 11:40:38 +02:00
sysfs.c ALSA: hda: Relax __free() variable declarations 2025-12-17 10:08:30 +01:00