ASoC: davinci-mcasp: add support for suspend and resume
authorDaniel Mack <zonque@gmail.com>
Tue, 1 Oct 2013 12:50:02 +0000 (14:50 +0200)
committerMark Brown <broonie@linaro.org>
Thu, 3 Oct 2013 13:22:40 +0000 (14:22 +0100)
When the system returns from suspend, it looses its configuration. Most
of it is restored by running a normal audio stream startup, but the DAI
format is left unset as that's configured on the audio device creation.

Hence, it suffices here to care for the registers which are touched by
davinci_mcasp_set_dai_fmt() and restore them when the system is resumed.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>

No differences found