ASoC: fsl_sai: Add driver suspend and resume to support MEGA Fast
authorZidan Wang <zidan.wang@freescale.com>
Fri, 18 Sep 2015 03:09:10 +0000 (11:09 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2015 16:26:16 +0000 (17:26 +0100)
commit1fde5e83a17acbcfcce27f68be46a6da4344efbd
treeeb5870717fa77d2ffa4d00900392bd7ac8f90358
parent6ff33f3902c3b1c5d0db6b1e2c70b6d76fba357f
ASoC: fsl_sai: 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, SAI 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_sai.c