19 Jan
2011
19 Jan
'11
7:48 p.m.
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.