From 06fe368012d4127a6c223f6aafec3044a694f9b3 Mon Sep 17 00:00:00 2001 From: Vladimir Zapolskiy Date: Thu, 24 Jun 2010 15:17:07 +0400 Subject: [PATCH] --- yaml --- r: 206576 b: refs/heads/master c: ed632ad3b812be6ddace1562c56d838ee48e9313 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/soc/codecs/uda134x.c | 3 ++- trunk/sound/soc/codecs/uda134x.h | 5 +++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index dd02d6cca873..51381332d451 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: af51b5c0f06d449667eba226d96c8f56e2b96659 +refs/heads/master: ed632ad3b812be6ddace1562c56d838ee48e9313 diff --git a/trunk/sound/soc/codecs/uda134x.c b/trunk/sound/soc/codecs/uda134x.c index 52eada1f17fc..7552ea2c2fc7 100644 --- a/trunk/sound/soc/codecs/uda134x.c +++ b/trunk/sound/soc/codecs/uda134x.c @@ -45,7 +45,7 @@ static const char uda134x_reg[UDA134X_REGS_NUM] = { /* Extended address registers */ 0x04, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, /* Status, data regs */ - 0x00, 0x83, 0x00, 0x40, 0x80, 0x00, + 0x00, 0x83, 0x00, 0x40, 0x80, 0xC0, 0x00, }; /* @@ -104,6 +104,7 @@ static int uda134x_write(struct snd_soc_codec *codec, unsigned int reg, case UDA134X_DATA000: case UDA134X_DATA001: case UDA134X_DATA010: + case UDA134X_DATA011: addr = UDA134X_DATA0_ADDR; break; case UDA134X_DATA1: diff --git a/trunk/sound/soc/codecs/uda134x.h b/trunk/sound/soc/codecs/uda134x.h index 94f440490b31..205f03b3eaf8 100644 --- a/trunk/sound/soc/codecs/uda134x.h +++ b/trunk/sound/soc/codecs/uda134x.h @@ -23,9 +23,10 @@ #define UDA134X_DATA000 10 #define UDA134X_DATA001 11 #define UDA134X_DATA010 12 -#define UDA134X_DATA1 13 +#define UDA134X_DATA011 13 +#define UDA134X_DATA1 14 -#define UDA134X_REGS_NUM 14 +#define UDA134X_REGS_NUM 15 #define STATUS0_DAIFMT_MASK (~(7<<1)) #define STATUS0_SYSCLK_MASK (~(3<<4))