[alsa-devel] How to set TWL4030 to Option2

Joonyoung Shim jy0922.shim at samsung.com
Fri May 15 11:36:14 CEST 2009

On 5/15/2009 5:21 PM, 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.


In current code, as you say, you have to directly change the value of
the reg cache for setting to option2, also you have to modify the
REG_OPTION and REG_VOICE_IF reg for voice, but this is temporary method.

As Peter already say, we need additional controls.


> Could you please clarify?
> -Misa
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

More information about the Alsa-devel mailing list