[alsa-devel] [PATCH v2 1/2] ASoC: core: Add flag to ignore pmdown_time at pcm_close

Vinod Koul vinod.koul at linux.intel.com
Sat Oct 22 19:17:20 CEST 2011


On Sat, 2011-10-22 at 10:45 +0100, Mark Brown wrote:
> On Fri, Oct 21, 2011 at 04:28:44PM +0530, Babu, Ramesh wrote:
> 
> > If it is a board specific requirement, then would it make sense to have it in
> > dai_link as per Peter Ujfaulsi's RFC [1].
> 
> Possibly for your case - the case this was originally written for was
> rather different, the CODEC has issues which mean it always needs to
> skip the delay so having to specify this for every single board is going
> to be repetitive.
> 
> > In general, how this kind of situation is handled?
> 
> Usually by keeping the clocks available.
That does not seem to be possible here :(

The codec takes the clock from modem. The codec doesn't have control
over it. The voice call termination kills the clock and the DAPM power
down produces noticeable artifacts.

Since this is board property, machine driver should tell DAPM to power
down immediately for this DAI alone. That of course allows us to reap
benefits of DAPM not power cycling codec during close/open.

-- 
~Vinod



More information about the Alsa-devel mailing list