kernel_optimize_test/sound/soc
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
..
adi
amd ASoC: amd: fix for pcm_read() error 2021-06-16 12:01:34 +02:00
atmel ASoC: atmel-i2s: Fix usage of capture and playback at the same time 2021-07-14 16:56:48 +02:00
au1x
bcm
cirrus
codecs ASoC: cs42l42: Correct definition of CS42L42_ADC_PDN_MASK 2021-07-14 16:56:46 +02:00
dwc
fsl ASoC: fsl_spdif: Fix unexpected interrupt after suspend 2021-07-14 16:56:48 +02:00
generic
hisilicon ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup() 2021-07-14 16:56:37 +02:00
img
intel ASoC: Intel: sof_sdw: add SOF_RT715_DAI_ID_FIX for AlderLake 2021-07-14 16:56:48 +02:00
jz4740
kirkwood
mediatek ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()' 2021-07-14 16:56:43 +02:00
meson
mxs
pxa
qcom ASoC: qcom: lpass-cpu: Fix pop noise during audio capture begin 2021-06-23 14:42:49 +02:00
rockchip
samsung
sh ASoC: rsnd: tidyup loop on rsnd_adg_clk_query() 2021-07-14 16:56:38 +02:00
sirf
sof
spear
sprd
sti
stm
sunxi
tegra
ti
txx9
uniphier
ux500
xilinx
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-card.c
soc-component.c
soc-compress.c
soc-core.c ASoC: core: Fix Null-point-dereference in fmt_single_name() 2021-06-16 12:01:45 +02:00
soc-dai.c
soc-dapm.c
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-jack.c
soc-link.c
soc-ops.c
soc-pcm.c
soc-topology.c
soc-utils.c