]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_ssi: Add driver suspend and resume to support MEGA Fast
authorZidan Wang <zidan.wang@freescale.com>
Fri, 18 Sep 2015 03:09:12 +0000 (11:09 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2015 16:26:18 +0000 (17:26 +0100)
commit5829e877f29769eb5218d41a6c73e253b86bc0cc
tree50d08578783b8b296e39850ffce952632bc714cd
parentda065eed29b5135b580ec58df5b74cd2b4e59e62
ASoC: fsl_ssi: 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,
SSI needs to save all the values of registers before the system
suspend and restore them after the system resume.

The register SFCSR is volatile, but some bits in it need to be
recovered after suspend/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_ssi.c