[alsa-devel] [PATCH 2/3] ASoC: TWL4030: Add shadow register

Peter Ujfalusi peter.ujfalusi at nokia.com
Mon May 25 10:05:44 CEST 2009


On Monday 25 May 2009 10:48:13 ext Takashi Iwai wrote:
> At Mon, 25 May 2009 10:44:38 +0300,
>
> Peter Ujfalusi wrote:
> > Shadow, non HW register for dealing with the HandsfreeL/R
> > muting.
> >
> > Signed-off-by: Peter Ujfalusi <peter.ujfalusi at nokia.com>
> > ---
> >  sound/soc/codecs/twl4030.c |    7 ++++++-
> >  sound/soc/codecs/twl4030.h |    7 ++++++-
> >  2 files changed, 12 insertions(+), 2 deletions(-)
> >
> > diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
> > index 17ddcb2..a59e817 100644
> > --- a/sound/soc/codecs/twl4030.c
> > +++ b/sound/soc/codecs/twl4030.c
> > @@ -115,6 +115,7 @@ static const u8 twl4030_reg[TWL4030_CACHEREGNUM] = {
> >  	0x00, /* REG_VIBRA_PWM_SET	(0x47)	*/
> >  	0x00, /* REG_ANAMIC_GAIN	(0x48)	*/
> >  	0x00, /* REG_MISC_SET_2		(0x49)	*/
> > +	0x00, /* REG_SW_SHADOW		(0x50)	- Shadow, non HW register */
>
> Isn't it 0x4a after 0x49?

Oops. Yes. Sorry. I'll resend...

>
>
> Takashi

-- 
Péter


More information about the Alsa-devel mailing list