]> git.ipfire.org Git - thirdparty/linux.git/commit
ASOC: SOF: Intel: hda-loader: only wait for HDaudio IOC for IPC4 devices
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 16 Jul 2024 08:45:30 +0000 (10:45 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 16 Jul 2024 13:07:55 +0000 (14:07 +0100)
commit9ee3f0d8c9999eb1ef2866e86f8d57d996fc0348
tree3648660536446bd271e241380a09d36de8804711
parent2634f745eac25a33f032df32cf98fca8538a534a
ASOC: SOF: Intel: hda-loader: only wait for HDaudio IOC for IPC4 devices

Multiple users report a regression bisected to commit d5263dbbd8af
("ASoC: SOF: Intel: don't ignore IOC interrupts for non-audio
transfers"). The firmware version is the likely suspect, as these
users relied on SOF 2.0 while Intel only tested with the 2.2 release.

Rather than completely disable the wait_for_completion(), which can
help us gather timing information on the different stages of the boot
process, the simplest course of action is to just disable it for older
IPC versions which are no longer under active development.

Closes: https://github.com/thesofproject/linux/issues/5072
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218961
Fixes: d5263dbbd8af ("ASoC: SOF: Intel: don't ignore IOC interrupts for non-audio transfers")
Tested-by: Mike Krinkin <krinkin.m.u@gmail.com>
Tested-by: Todd Brandt <todd.e.brandt@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20240716084530.300829-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-loader.c