OSDN Git Service

ASoC: omap-mcpdm: Support for suspend resume
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 18 May 2016 13:46:35 +0000 (16:46 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 15:19:17 +0000 (16:19 +0100)
commit4a5c83744feb7608422e6c23fa4cce85569b678c
tree2ea89ba8b6eda2086d3459986cb75b1831b0dd4b
parent0efecc086caa1fa12b941ca55cf24e1b4d4e59b8
ASoC: omap-mcpdm: Support for suspend resume

Implement ASoC's suspend and resume callbacks.
Since McPDM does not use pcm_trigger for start and stop of the stream due
to strict sequencing needs with the twl6040, the callbacks will stop and
restart the McPDM in case the board suspended during audio activity.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/omap/omap-mcpdm.c