ASoC: Correct revision display for WM1250-EV1 module
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 14 Aug 2011 10:07:33 +0000 (19:07 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 15 Aug 2011 14:54:07 +0000 (23:54 +0900)
The hardware documentation uses revision numbers starting at 1.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm1250-ev1.c

index a98a3ff1ee738761de72a283e11d599ee242bb9e..4523c4cec02ba5b07d4a568704d57ba0285b568d 100644 (file)
@@ -74,7 +74,7 @@ static int __devinit wm1250_ev1_probe(struct i2c_client *i2c,
                return -ENODEV;
        }
 
-       dev_info(&i2c->dev, "revision %d\n", rev);
+       dev_info(&i2c->dev, "revision %d\n", rev + 1);
 
        return snd_soc_register_codec(&i2c->dev, &soc_codec_dev_wm1250_ev1,
                                      &wm1250_ev1_dai, 1);