Skip to content

Commit

Permalink
ASoC: SOF: Intel: hda: disable SoundWire interrupts on suspend
Browse files Browse the repository at this point in the history
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
plbossart authored and broonie committed Mar 27, 2020
1 parent b9ddd81 commit 3eadff5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/sof/intel/hda-dsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 3eadff5

Please sign in to comment.