[alsa-devel] [PATCH 1/1] ASoC: core: cache index fix
preetamsashankreddy at gmail.com
Sun Aug 7 06:18:08 CEST 2011
On Sunday 07 August 2011 09:42 AM, preetam wrote:
> 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
>>> 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 ?
I am asking this because, I was using set_bias to enable the clocks to
the DAC and ADC blocks. This device has two independednt clock sources
for DAC and ADC blocks. I would like to power up only one of them
depending on which steam the calls are being made for. So do I do this?
More information about the Alsa-devel