]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/blobdiff - sound/soc/codecs/wm8900.c
ASoC: Remove volatility from WM8900 POWER1 register
[lisovros/linux_canprio.git] / sound / soc / codecs / wm8900.c
index 5da17a704e5a9ba2d40d27a14b24a0fff701594e..4b8ffc2ea71ddbdeb01913a40f26efb7a071c107 100644 (file)
@@ -188,7 +188,6 @@ static int wm8900_volatile_register(unsigned int reg)
 {
        switch (reg) {
        case WM8900_REG_ID:
-       case WM8900_REG_POWER1:
                return 1;
        default:
                return 0;
@@ -1236,11 +1235,6 @@ static __devinit int wm8900_i2c_probe(struct i2c_client *i2c,
                goto err;
        }
 
-       /* Read back from the chip */
-       reg = snd_soc_read(codec, WM8900_REG_POWER1);
-       reg = (reg >> 12) & 0xf;
-       dev_info(&i2c->dev, "WM8900 revision %d\n", reg);
-
        wm8900_reset(codec);
 
        /* Turn the chip on */