aboutsummaryrefslogtreecommitdiff
path: root/include/sound/soc-dapm.h
diff options
context:
space:
mode:
authorGravatar Peter Ujfalusi <peter.ujfalusi@ti.com> 2014-10-01 16:02:12 +0300
committerGravatar Mark Brown <broonie@kernel.org> 2014-10-01 17:02:09 +0100
commitf114ce605daa1fb9d4efa253ea6d5bd4802902af (patch)
tree9f688ab28ccc755e99ceda4a4ad432a0c2b1144d /include/sound/soc-dapm.h
parentASoC: davinci-mcasp: Convert the context save/restore to use array (diff)
downloadlinux-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