[alsa-devel] [PATCH 1/4] ASoC: sn95031: add capture support

Mark Brown broonie at opensource.wolfsonmicro.com
Wed Jan 19 19:48:01 CET 2011

On Wed, Jan 19, 2011 at 09:58:11PM +0530, Koul, Vinod wrote:

> > How about using a supply widget for the LDO and the clock?  This would
> > also ensure that...

> Hmmm, so what you are saying is add a supply widget like we have "Headset" and
> which does above. I thought about that, but what I have here is ADC with NULL
> stream (to ensure ADCs are on only when AMICs are selected) and added virtual
> AIF with capture stream, and all TX paths (and thereby DMIC and ADC connected
> to that). If I add supply widgets, then how do I code the map? Should I do
> AIF->TXPATH ->DMIC->Supply ?

A supply widget needs to feed into other widgets.  It will be turned on
before and turned off after the widgets it supplies but won't affect
their power.

More information about the Alsa-devel mailing list