aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/uda134x.c
diff options
context:
space:
mode:
authorVladimir Zapolskiy <vzapolskiy@gmail.com>2010-06-24 07:17:07 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-06-30 09:46:56 -0400
commited632ad3b812be6ddace1562c56d838ee48e9313 (patch)
tree7a8e33369eea1a77eef748f685bb1965ae90451a /sound/soc/codecs/uda134x.c
parentaf51b5c0f06d449667eba226d96c8f56e2b96659 (diff)
ASoC: uda134x: add DATA011 register found in codecs family
In UDA1340, UDA1344 and UDA1345 codecs there is one more functional register in part of DATA0 tranfser. For UDA1341 this register coincides with EA register. Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/uda134x.c')
-rw-r--r--sound/soc/codecs/uda134x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c
index 52eada1f17f..7552ea2c2fc 100644
--- a/sound/soc/codecs/uda134x.c
+++ b/sound/soc/codecs/uda134x.c
@@ -45,7 +45,7 @@ static const char uda134x_reg[UDA134X_REGS_NUM] = {
45 /* Extended address registers */ 45 /* Extended address registers */
46 0x04, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 46 0x04, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00,
47 /* Status, data regs */ 47 /* Status, data regs */
48 0x00, 0x83, 0x00, 0x40, 0x80, 0x00, 48 0x00, 0x83, 0x00, 0x40, 0x80, 0xC0, 0x00,
49}; 49};
50 50
51/* 51/*
@@ -104,6 +104,7 @@ static int uda134x_write(struct snd_soc_codec *codec, unsigned int reg,
104 case UDA134X_DATA000: 104 case UDA134X_DATA000:
105 case UDA134X_DATA001: 105 case UDA134X_DATA001:
106 case UDA134X_DATA010: 106 case UDA134X_DATA010:
107 case UDA134X_DATA011:
107 addr = UDA134X_DATA0_ADDR; 108 addr = UDA134X_DATA0_ADDR;
108 break; 109 break;
109 case UDA134X_DATA1: 110 case UDA134X_DATA1: