[alsa-devel] [PATCH] ASoC: davinci-mcasp: Allow complete shutdown of McASP when not in use

Peter Ujfalusi peter.ujfalusi at ti.com
Thu Mar 5 11:51:02 CET 2015


On 03/04/2015 07:13 PM, Mark Brown wrote:
> On Wed, Mar 04, 2015 at 01:31:48PM +0200, Peter Ujfalusi wrote:
>> On 03/04/2015 01:30 PM, Mark Brown wrote:
> 
>>> You can just store the state before you do the enable...
> 
>> When we come out from suspend the pm_runtime status is disabled all the time.
> 
> It's fine at the start of the suspend though, you can just record state?

Yes, it is possible to add a bool for this, but I don't really see the point
of duplicating the dai->active within the mcasp private data.

-- 
Péter


More information about the Alsa-devel mailing list