17 Jun
2016
17 Jun
'16
12:15 p.m.
On Fri, Jun 17, 2016 at 01:18:10PM +0200, Lars-Peter Clausen wrote:
On 06/17/2016 06:33 AM, Vinod Koul wrote:
We need card to be early suspended and late resumed, so use prepare and complete for card suspend and resume.
Why and why is this something that other cards do not need to do?
When card suspends, the DAPM suspend closes the widgets, which translates to we sending IPC to DSP for tearing down the pipelines.
So we need the platform to be suspended last and resume first. This way the snd_soc_suspend will tear down pipelines and snd_soc_resume restore those back.
Thanks
--
~Vinod