acrn-kernel/sound/hda
Cezary Rojewski 084ca21693 ALSA: hda: Error out if invalid stream is being setup
Scenario when snd_hdac_stream_setup_periods() receives an instance of
struct hdac_stream with neither ->substream nor ->cstream initialized is
invalid.

Simultaneously addresses "uninitialized symbol 'dmab'" error reported by
Smatch.

Fixes: 3e9582267e ("ALSA: hda: Interrupt servicing and BDL setup for compress streams")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20221208142635.1514944-1-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2022-12-09 09:54:53 +01:00
..
ext ALSA: hda: Allow for compress stream to hdac_ext_stream assignment 2022-12-05 14:05:18 +00:00
Kconfig
Makefile
array.c
hda_bus_type.c
hdac_bus.c ALSA: hda: Skip event processing for unregistered codecs 2022-07-15 16:26:50 +02:00
hdac_component.c
hdac_controller.c ALSA: hda: Interrupt servicing and BDL setup for compress streams 2022-12-05 14:05:20 +00:00
hdac_device.c
hdac_i915.c
hdac_regmap.c
hdac_stream.c ALSA: hda: Error out if invalid stream is being setup 2022-12-09 09:54:53 +01:00
hdac_sysfs.c ALSA: hda: fix potential memleak in 'add_widget_node' 2022-11-10 15:28:12 +01:00
hdmi_chmap.c ALSA: hda: Replace runtime->status->state reference to runtime->state 2022-09-27 08:47:33 +02:00
intel-dsp-config.c ASoC: hda: intel-dsp-config: add ES83x6 quirk for IceLake 2022-11-01 11:01:15 +00:00
intel-nhlt.c ALSA: hda: intel-nhlt: add intel_nhlt_ssp_mclk_mask() 2022-09-20 12:25:03 +01:00
intel-sdw-acpi.c
local.h
trace.c
trace.h tracing: ALSA: hda: Remove string manipulation out of the fast path 2022-07-04 14:31:19 +02:00