ALSA: hda: Add code_loading parameter to stream setup
authorCezary Rojewski <cezary.rojewski@intel.com>
Fri, 6 Oct 2023 10:28:57 +0000 (12:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Oct 2023 12:30:39 +0000 (14:30 +0200)
commit5eb4ff884f72654cd2622528ecfda0fd35c637c5
treeabc4a8f9f665a42ccb750ab0a7b1c451524ead84
parent956b610c4974c99a55c95542c4fca6025dee579f
ALSA: hda: Add code_loading parameter to stream setup

AudioDSP firmware is the one who kicks SDxFIFOS calculation when a
stream is decoupled mode. During firmware bring up procedure, there is
no firmware running and the code-loading stream is always a decoupled
one. So, there is none to trigger the calculation and we end up with
false-positive timeout (-110) messages.

Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20231006102857.749143-4-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/hdaudio.h
include/sound/hdaudio_ext.h
sound/hda/ext/hdac_ext_stream.c
sound/hda/hdac_stream.c
sound/pci/hda/hda_controller.c
sound/soc/intel/avs/pcm.c
sound/soc/intel/avs/probes.c
sound/soc/intel/skylake/skl-pcm.c