[alsa-devel] How to set TWL4030 to Option2

Joonyoung Shim jy0922.shim at samsung.com
Fri May 15 12:13:06 CEST 2009

On 5/15/2009 6:45 PM, Mark Brown wrote:
> On Fri, May 15, 2009 at 06:36:14PM +0900, Joonyoung Shim wrote:
>> 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.
> This can be done with a register write from the DAI init() function in
> the machine driver in order to avoid modifying twl4030.c itself.

Oh, i see, thanks. But because the startup() function of codec dai is
called earlier than startup() function of machine, i think that we need
an control to set option2.

More information about the Alsa-devel mailing list