]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_xcvr: disable all interrupts when suspend happens
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 18 Jun 2021 12:38:33 +0000 (20:38 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 21 Jun 2021 12:06:28 +0000 (13:06 +0100)
commit1a1c31052eb50f3126ffd88a90061e7a88b01fa0
tree45578f5ba642a6a0f395c2018cc3cd73493558d6
parent6c04b9df3e61657ca2ad26f32ce755f3cd9df3e1
ASoC: fsl_xcvr: disable all interrupts when suspend happens

There is an unhandled interrupt after suspend, which cause endless
interrupt when system resume, so system may hang.

Disable all interrupts in runtime suspend callback to avoid above
issue.

Fixes: 78ada18f9da6 ("ASoC: fsl_xcvr: Add XCVR ASoC CPU DAI driver")
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Link: https://lore.kernel.org/r/1624019913-3380-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_xcvr.c