linux/sound/soc/intel
Amadeusz Sławiński 0dbb186c35
ASoC: Intel: avs: Update stream status in a separate thread
Function snd_pcm_period_elapsed() is part of sequence servicing HDAudio
stream IRQs. It's called under Global Interrupt Enable (GIE) disabled -
no HDAudio interrupts will be raised. At the same time, the function may
end up calling __snd_pcm_xrun() or snd_pcm_drain_done(). On the
avs-driver side, this translates to IPCs and as GIE is disabled, these
will never complete successfully.

Improve system stability by scheduling stream-IRQ handling in a separate
thread.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Reviewed-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://patch.msgid.link/20241008083758.756578-1-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2024-10-08 10:49:11 +01:00
..
atom ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
avs ASoC: Intel: avs: Update stream status in a separate thread 2024-10-08 10:49:11 +01:00
boards ASoC: intel: sof_sdw: Add check devm_kasprintf() returned value 2024-10-02 14:02:19 +01:00
catpt ASoC: Switch back to struct platform_driver::remove() 2024-09-09 18:26:49 +01:00
common ASoC: Intel: soc-acpi: arl: Fix some missing empty terminators 2024-10-01 12:07:47 +01:00
keembay ASoC: intel: fix module autoloading 2024-08-26 15:52:06 +01:00
Kconfig ASoC: Intel: Remove skylake driver 2024-08-19 13:10:55 +01:00
Makefile ASoC: Intel: Remove skylake driver 2024-08-19 13:10:55 +01:00