[alsa-devel] How to set TWL4030 to Option2

Mark Brown broonie at opensource.wolfsonmicro.com
Fri May 15 11:45:12 CEST 2009

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.

More information about the Alsa-devel mailing list