diff options
| -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 b4f11724a63f..aca4b1ea10bb 100644 --- a/sound/soc/codecs/wm8900.c +++ b/sound/soc/codecs/wm8900.c | |||
| @@ -186,7 +186,6 @@ static int wm8900_volatile_register(unsigned int reg) | |||
| 186 | { | 186 | { |
| 187 | switch (reg) { | 187 | switch (reg) { |
| 188 | case WM8900_REG_ID: | 188 | case WM8900_REG_ID: |
| 189 | case WM8900_REG_POWER1: | ||
| 190 | return 1; | 189 | return 1; |
| 191 | default: | 190 | default: |
| 192 | return 0; | 191 | return 0; |
| @@ -1200,11 +1199,6 @@ static int wm8900_probe(struct snd_soc_codec *codec) | |||
| 1200 | return -ENODEV; | 1199 | return -ENODEV; |
| 1201 | } | 1200 | } |
| 1202 | 1201 | ||
| 1203 | /* Read back from the chip */ | ||
| 1204 | reg = snd_soc_read(codec, WM8900_REG_POWER1); | ||
| 1205 | reg = (reg >> 12) & 0xf; | ||
| 1206 | dev_info(codec->dev, "WM8900 revision %d\n", reg); | ||
| 1207 | |||
| 1208 | wm8900_reset(codec); | 1202 | wm8900_reset(codec); |
| 1209 | 1203 | ||
| 1210 | /* Turn the chip on */ | 1204 | /* Turn the chip on */ |
