ASoC: mchp-spdiftx: add support for system suspend/resume
authorClaudiu Beznea <claudiu.beznea@microchip.com>
Thu, 17 Nov 2022 12:37:50 +0000 (14:37 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 18 Nov 2022 11:57:06 +0000 (11:57 +0000)
commitabc7edb0329cd2eabc0b948f5e248c85f6268296
tree461428151bf79e6f7334c77b7562c4025f9384b6
parent4bf54ca60f99643cfaa3e5b532f139f6501f318e
ASoC: mchp-spdiftx: add support for system suspend/resume

Add support for system suspend/resume by moving the enable/disable
of interrupts in mchp_spdiftx_trigger() on SNDRV_PCM_TRIGGER_SUSPEND/
SNDRV_PCM_TRIGGER_RESUME commands.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20221117123750.291911-4-claudiu.beznea@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/mchp-spdiftx.c