7 Aug
2011
7 Aug
'11
4:12 a.m.
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 ?