[alsa-devel] [PATCH 1/5] ASoC: Hold runtime PM references to components of active DAIs

Peter Ujfalusi peter.ujfalusi at ti.com
Wed Dec 7 08:47:29 CET 2011

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).


More information about the Alsa-devel mailing list