MLK-10903-1: ASoC: fsl_spdif: remove cache only in suspend/resume
authorShengjiu Wang <shengjiu.wang@freescale.com>
Tue, 19 May 2015 05:34:32 +0000 (13:34 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:11 +0000 (14:48 -0500)
commitde4acb84ea608f87632ad4531d0650e4b2d5d170
tree405c1b160a6cfa911404d05639c040f19a56e3f9
parentec4ac8d38e606a669d0148a1ce69109d5f46c80c
MLK-10903-1: ASoC: fsl_spdif: remove cache only in suspend/resume

In imx6qp, there is no mega fast. After suspend, but before resume,
there will be spdif interrupt, if set cache only in suspend, then we
can't clear the interrupt, because regmap_write only write to cache.
So the system will hang for the interrupt can't be cleared.

Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com>
(cherry picked from commit 2a6a522c86d6c0fe80023c4327ca7ce4792035c8)
sound/soc/fsl/fsl_spdif.c