ASoC: fsl_esai: Add driver suspend and resume to support MEGA Fast
authorZidan Wang <zidan.wang@freescale.com>
Fri, 18 Sep 2015 03:09:13 +0000 (11:09 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2015 16:26:19 +0000 (17:26 +0100)
commitc64c60763b4e3c72a3520c8d51be858cd67bacb5
treec8f2fac74dd64642c782707adbc20b77ede76196
parent05cf237972fe65eb537ea4f10e5627ceeb8f89b6
ASoC: fsl_esai: Add driver suspend and resume to support MEGA Fast

For i.MX6 SoloX, there is a mode of the SoC to shutdown all power source of
modules during system suspend and resume procedure. Thus, ESAI needs to save
all the values of registers before the system suspend and restore them after
the system resume.

Signed-off-by: Zidan Wang <zidan.wang@freescale.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_esai.c