Re: [PATCH 2/3] ASoC: TWL4030: Add shadow register

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
>  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?


Takashi
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux