7 Dec
2011
7 Dec
'11
9:47 a.m.
On 12/05/2011 05:07 PM, Mark Brown wrote:
The ordering of the pm_runtime_get/put will be different. We will have the pm_runtime_put after all other parts of the audio system has been closed, turned off.
Hrm, yes. But that's much wider than just the issue with moving inside the pcm_lock - for example, the shutdown calls already come before the DAPM teardowns.
Sure, ideally I would pair the pm_runtime calls with the corresponding startup/shutdown callback.
So it sounds like things are OK with the proposed patch then, though there's still some larger issues to work through?
Yes, correct. I need to have pm_runtime support for the external functional clock for the McPDM (coming as bit clock from twl6040 codec).
--
Péter