diff options
Diffstat (limited to 'sound/soc/codecs/wm8900.c')
-rw-r--r-- | sound/soc/codecs/wm8900.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c index 5da17a704e5a..4b8ffc2ea71d 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c | |||
@@ -188,7 +188,6 @@ static int wm8900_volatile_register(unsigned int reg) | |||
188 | { | 188 | { |
189 | switch (reg) { | 189 | switch (reg) { |
190 | case WM8900_REG_ID: | 190 | case WM8900_REG_ID: |
191 | case WM8900_REG_POWER1: | ||
192 | return 1; | 191 | return 1; |
193 | default: | 192 | default: |
194 | return 0; | 193 | return 0; |
@@ -1236,11 +1235,6 @@ static __devinit int wm8900_i2c_probe(struct i2c_client *i2c, | |||
1236 | goto err; | 1235 | goto err; |
1237 | } | 1236 | } |
1238 | 1237 | ||
1239 | /* Read back from the chip */ | ||
1240 | reg = snd_soc_read(codec, WM8900_REG_POWER1); | ||
1241 | reg = (reg >> 12) & 0xf; | ||
1242 | dev_info(&i2c->dev, "WM8900 revision %d\n", reg); | ||
1243 | |||
1244 | wm8900_reset(codec); | 1238 | wm8900_reset(codec); |
1245 | 1239 | ||
1246 | /* Turn the chip on */ | 1240 | /* Turn the chip on */ |