linux_dsm_epyc7002/sound/soc/fsl
Shengjiu Wang f3bf888507 ASoC: fsl_spdif: Fix unexpected interrupt after suspend
[ Upstream commit a7a0a2feb957e446b2bcf732f245ba04fc8b6314 ]

When system enter suspend, the machine driver suspend callback
function will be called, then the cpu driver trigger callback
(SNDRV_PCM_TRIGGER_SUSPEND) be called, it would disable the
interrupt.

But the machine driver suspend and cpu dai driver suspend order
maybe changed, the cpu dai driver's suspend callback is called before
machine driver's suppend callback, then the interrupt is not cleared
successfully in trigger callback.

So need to clear interrupts in cpu dai driver's suspend callback
to avoid such issue.

Fixes: 9cb2b3796e ("ASoC: fsl_spdif: Add pm runtime function")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/1624365084-7934-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-14 16:56:48 +02:00
..
efika-audio-fabric.c
eukrea-tlv320.c
fsl_asrc_common.h
fsl_asrc_dma.c
fsl_asrc.c
fsl_asrc.h
fsl_audmix.c ASoC: fsl_audmix: make clock and output src write only 2020-09-17 14:47:09 +01:00
fsl_audmix.h
fsl_dma.c
fsl_dma.h
fsl_easrc.c
fsl_easrc.h
fsl_esai.c ASoC: fsl_esai: Fix TDM slot setup for I2S mode 2021-04-21 13:00:52 +02:00
fsl_esai.h
fsl_micfil.c
fsl_micfil.h
fsl_mqs.c
fsl_sai.c Merge remote-tracking branch 'asoc/for-5.10' into asoc-next 2020-10-09 15:42:31 +01:00
fsl_sai.h Merge remote-tracking branch 'asoc/for-5.10' into asoc-next 2020-10-09 15:42:31 +01:00
fsl_spdif.c ASoC: fsl_spdif: Fix unexpected interrupt after suspend 2021-07-14 16:56:48 +02:00
fsl_spdif.h
fsl_ssi_dbg.c
fsl_ssi.c ASoC: fsl_ssi: Fix TDM slot setup for I2S mode 2021-03-25 09:04:06 +01:00
fsl_ssi.h
fsl_utils.c
fsl_utils.h
fsl-asoc-card.c ASoC: fsl-asoc-card: Set .owner attribute when registering card. 2021-06-23 14:42:48 +02:00
imx-audmix.c ASoC: fsl: imx-audmix: Use devm_kcalloc() instead of devm_kzalloc() 2020-09-25 20:50:39 +01:00
imx-audmux.c
imx-audmux.h
imx-es8328.c
imx-mc13783.c ASoC: fsl: imx-mc13783: use devm_snd_soc_register_card() 2020-10-01 20:28:11 +01:00
imx-pcm-dma.c
imx-pcm-fiq.c
imx-pcm.h
imx-sgtl5000.c
imx-spdif.c
imx-ssi.c
imx-ssi.h
Kconfig
Makefile
mpc5200_dma.c
mpc5200_dma.h
mpc5200_psc_ac97.c
mpc5200_psc_i2s.c
mpc8610_hpcd.c
mx27vis-aic32x4.c ASoC: fsl: mx27vis-aic32x4: use devm_snd_soc_register_card() 2020-10-01 20:28:16 +01:00
p1022_ds.c
p1022_rdk.c
pcm030-audio-fabric.c
phycore-ac97.c
wm1133-ev1.c