diff mbox series

[v2,06/11] ASoC: SOF: Intel: hda: disable SoundWire interrupts on suspend

Message ID 20200325215027.28716-7-pierre-louis.bossart@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series ASoC: SOF: Intel: add SoundWire support | expand

Commit Message

Pierre-Louis Bossart March 25, 2020, 9:50 p.m. UTC
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>
 sound/soc/sof/intel/hda-dsp.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series


diff --git a/sound/soc/sof/intel/hda-dsp.c b/sound/soc/sof/intel/hda-dsp.c
index c396b7ef0328..1aff90042694 100644
--- a/sound/soc/sof/intel/hda-dsp.c
+++ b/sound/soc/sof/intel/hda-dsp.c
@@ -594,6 +594,8 @@  static int hda_suspend(struct snd_sof_dev *sdev, bool runtime_suspend)
 	int ret;
+	hda_sdw_int_enable(sdev, false);
 	/* disable IPC interrupts */