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

Babu, Ramesh ramesh.babu at intel.com
Fri Oct 21 11:10:04 CEST 2011

> > I feel ignore_pmdown_time needs to be part of snd_soc_dai_driver
> structure.
> > It will give flexibility to control individual dai.  Individual dai's
> can choose to
> > Ignore power down delay.
> Why do you need to do this?
> > Would it make sense?
> > In my codec, I need to ignore the power down delay for voice dais,
> but retain the delay
> > for HiFi dai's.
> I'm not sure associating it with DAIs is a good idea, I'd expect any
> issues to be with the analouge outputs not DAIs.

In my device, clock to the codec is coming from modem (for voice call use case).  After voice call termination, application
Calls snd_pcm_close for voice device and then turns off the modem clock.  Since clock is turned-off while
Widgets are still on (power down deferred by pmdown_time), I am noticing the glitches.

I thought, having ignore_pmdown_time for individual codec device would allow flexibility.

More information about the Alsa-devel mailing list