summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ssm2602.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2014-10-01 16:02:12 +0300
committerMark Brown <broonie@kernel.org>2014-10-01 17:02:09 +0100
commitf114ce605daa1fb9d4efa253ea6d5bd4802902af (patch)
tree9f688ab28ccc755e99ceda4a4ad432a0c2b1144d /sound/soc/codecs/ssm2602.c
parent1cc0c054f380c1c477642b5d9d9d9f697f641dbc (diff)
downloadblackbird-op-linux-f114ce605daa1fb9d4efa253ea6d5bd4802902af.tar.gz
blackbird-op-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 'sound/soc/codecs/ssm2602.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud