[alsa-devel] [PATCH 1/1] ASoC: core: cache index fix

Mark Brown broonie at opensource.wolfsonmicro.com
Sun Aug 7 05:02:23 CEST 2011


On Sun, Aug 07, 2011 at 12:31:07AM +0530, preetam wrote:

Don't start a new thread by replying to completely unrelated mails,
write a new mail to the list.

> I am writing an SoC driver. I have the need to power up the Playback and 
> Capture parts of the device separately depending on the call to codec 
> structure. How can I identify the stream as playback or capture in 
> set_bias call back. It only gets a codec pointer and a state.

You can't.  You should be using DAPM for this, not set_bias_level().


More information about the Alsa-devel mailing list