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

preetam preetamsashankreddy at gmail.com
Sun Aug 7 06:12:05 CEST 2011


On Sunday 07 August 2011 08:32 AM, Mark Brown wrote:
> 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().
Then what is the ideal use case of set_bias_level ?


More information about the Alsa-devel mailing list