ASoC: imx-audmux: Add driver suspend and resume to support MEGA Fast
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 16 Aug 2019 05:03:14 +0000 (01:03 -0400)
committerMark Brown <broonie@kernel.org>
Fri, 16 Aug 2019 12:12:03 +0000 (13:12 +0100)
commit8661ab5b23d6d30d8687fc05bc1dba8f9a64b444
treef03d9a32aff3fff720dbb47f2262cfd2f1903268
parent554b75bde64bcad9662530726d1483f7ef012069
ASoC: imx-audmux: 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, AUDMUX needs to save all the values of registers before the
system suspend and restore them after the system resume.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Link: https://lore.kernel.org/r/1565931794-7218-1-git-send-email-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/imx-audmux.c