]> www.infradead.org Git - users/willy/xarray.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)
commitea837090b388245744988083313f6e9c7c9b9699
tree45578f5ba642a6a0f395c2018cc3cd73493558d6
parent3aed3ddf9639a4f915984177ff8a2253f3f8acfe
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: 28564486866f ("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