ASoC: core: Support suspend to disk
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 31 Jan 2012 15:30:28 +0000 (15:30 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 31 Jan 2012 19:29:37 +0000 (19:29 +0000)
commit5aa44b132eca1d08f5bb9c5c5cb46eec612db686
tree567305569ab700d2cf6b80d6889d534bd448f755
parent489773c22397c001f54ba4f30856f24407d8d091
ASoC: core: Support suspend to disk

Use the same pm_ops for all system suspend and resume paths. This isn't
ideal for suspend to disk with older CODECs as we'll suspend and then
resume the CODEC before powering off all of which takes a long time due
to VMID ramps but it's very simple to implement and for modern CODECs the
overhead should be minimal.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
sound/soc/soc-core.c