]> www.infradead.org Git - users/dwmw2/linux.git/commit
ASoC: Intel: avs: Disable DSP before loading basefw
authorWu Zhou <wu.zhou@intel.com>
Fri, 29 Sep 2023 11:24:35 +0000 (13:24 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 29 Sep 2023 12:17:54 +0000 (14:17 +0200)
commita5e6ea01265e9ed9ab8511907ebbc82552cd2e9e
treec20c0372a41575eeda63c6a3a9954da41e55ab3b
parent0a5fb3cc28fda52c761775db2ccb7ccb954aee2a
ASoC: Intel: avs: Disable DSP before loading basefw

When audio controller is passed-through to the guest machine in
virtualized environment, the basefw load will fail the next time guest
OS reboots. Disable the DSP main core before loading the base firmware
to sanitize the environment.

Signed-off-by: Wu Zhou <wu.zhou@intel.com>
Signed-off-by: Libin Yang <libin.yang@intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/20230929112436.787058-6-amadeuszx.slawinski@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/loader.c