diff options
author | 2014-10-01 16:02:12 +0300 | |
---|---|---|
committer | 2014-10-01 17:02:09 +0100 | |
commit | f114ce605daa1fb9d4efa253ea6d5bd4802902af (patch) | |
tree | 9f688ab28ccc755e99ceda4a4ad432a0c2b1144d /include/sound/soc-dapm.h | |
parent | ASoC: davinci-mcasp: Convert the context save/restore to use array (diff) | |
download | linux-f114ce605daa1fb9d4efa253ea6d5bd4802902af.tar.gz linux-f114ce605daa1fb9d4efa253ea6d5bd4802902af.tar.bz2 linux-f114ce605daa1fb9d4efa253ea6d5bd4802902af.zip |
ASoC: davinvi-mcasp: Proper suspend/resume support while audio is active
If the board is sent to suspend (deep sleep) the McASP context will be lost.
In case when suspend happens during active audio we need to save and restore
more registers, which was configured during hw_param times as well.
We need to add more config registers, AFIFO control registers and we also
need to save and restore the serializer configuration as well.
Since the number of serializers depends on the SoC we need to allocate the
memory for it based on the num_serializer for the given McASP instance.
With this patch the ongoing stream will resume after resuming from deep
sleep.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-dapm.h')
0 files changed, 0 insertions, 0 deletions