[alsa-devel] [RFC 1/2] ASoC: soc-pcm: Add flag to ignore pmdown_time at pcm_close

Péter Ujfalusi peter.ujfalusi at ti.com
Fri Oct 14 11:24:01 CEST 2011


On Thursday 13 October 2011 15:00:03 Mark Brown wrote:
> On Thu, Oct 13, 2011 at 04:23:34PM +0300, Peter Ujfalusi wrote:
> > With this flag machine drivers can indicate that it is desired
> > to ignore the pmdown_time for DAPM shutdown sequence when
> > playback stream is stopped.
> > The DAPM sequence will be executed without delay in this case.
> 
> Why make this a per-machine control?  This seems like it'd be a property
> of the CODEC or possibly other chips rather than a machine specific thing?

I thought that depending on the environment we might need this or not for the 
same component, and the best place for this is to be able to define it per dai 
link.
However I can move the flag as per codec configuration (within snd_soc_codec 
struct). Would that be better?

--
Péter


More information about the Alsa-devel mailing list