[alsa-devel] How to set TWL4030 to Option2

Peter Ujfalusi peter.ujfalusi at nokia.com
Fri May 15 10:37:16 CEST 2009


On Friday 15 May 2009 11:21:29 ext Lopez Cruz, Misael wrote:
> I'm adding the voice dai to sdp3430 machine driver, but the codec's
> "twl4030_voice_startup" function has a requirement for voice to work: the
> codec has to be in option2. How can I switch the codec to option2 mode?
> There is no control for doing that, and the only way I see is to
> directly modify the reg cache, but I assume that is not the right way
> to do it.

I have some complains about the current implementation of the voice dai in the 
twl4030 codec (regarding on how the two dai works (or in fact should work) 
with DAPM), but it is a different story.

I would suggest to add an enum to twl4030_snd_controls to select between 
Option1 and Option2.

>
> Could you please clarify?
>
> -Misa

-- 
Péter


More information about the Alsa-devel mailing list