6 Jul
2012
6 Jul
'12
7:20 p.m.
On Fri, Jul 06, 2012 at 06:10:13PM +0100, Liam Girdwood wrote:
On Fri, 2012-07-06 at 17:43 +0100, Mark Brown wrote:
So how is suspend and resume safe, for example? It's the same general path through the PM core.
suspend and resume are safe as they call stream_event() that holds the DAPM mutex.
So that's safe with regard to DAPM... it's not the specific example that's concerning me here so much as the fact that I don't think we're doing anything else to make sure shutdown is safe with other things that might be going on when shutdown is called. There's probably a huge raft of issues that might occur...