mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
ASoC: SOF: Intel: hda: disable SoundWire interrupts on suspend
Doing this avoid conflicts and errors reported on the bus. The interrupts are only re-enabled on resume after the firmware is downloaded, so the behavior is not fully symmetric Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200325215027.28716-7-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
b9ddd81bad
commit
3eadff5639
@ -594,6 +594,8 @@ static int hda_suspend(struct snd_sof_dev *sdev, bool runtime_suspend)
|
||||
#endif
|
||||
int ret;
|
||||
|
||||
hda_sdw_int_enable(sdev, false);
|
||||
|
||||
/* disable IPC interrupts */
|
||||
hda_dsp_ipc_int_disable(sdev);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user