[alsa-devel] asoc SND_SOC_DAPM_AIF_IN question

Koul, Vinod vinod.koul at intel.com
Thu Dec 23 14:01:08 CET 2010


> "Audio Supply" sounds like the main analogue bias for the CODEC - that
> would normally be managed by set_bias_level() rather than by having it
> supply every single widget in the CODEC map.
Yes that would make sense. But only for Audio rail which is global codec rail.
What do you recommend for headset and speaker rails? They would be required only for headset and speaker DAI not rest.

> If you have multiple links between the CPU and the CODEC with a single
> power bit to control them all I'd suggest defining several AIF widgets,
> each with no power management, then making the actual power controlled
> by a supply widget.  That way the power will be enabled as required but
> you won't have tied all the data streams together in the DAPM map.
Okay so then why should I do with several AIF widgets, wont doing that in DAI startup be a better idea?

> > Here I was trying
> > 1) Putting the PCM_In Button as SND_SOC_DAPM_AIF_IN()
> 
> I'm still not sure what you mean by "Button"?  I'm guessing it's a
> register control for power.
Yes :)

~Vinod


More information about the Alsa-devel mailing list