[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 08:12:27 CEST 2011


> --- a/include/sound/soc.h
> +++ b/include/sound/soc.h
> @@ -578,6 +578,7 @@ struct snd_soc_codec {
> 
>  	/* dapm */
>  	struct snd_soc_dapm_context dapm;
> +	unsigned int ignore_pmdown_time:1; /* pmdown_time is ignored at
> stop */

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.

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.



More information about the Alsa-devel mailing list