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

The SRPC register should be volatile, LOCK bit is set by the hardware.

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_spdif.c