summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm1250-ev1.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-14 19:07:33 +0900
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-15 23:54:07 +0900
commit5c58b739c3a1cc41a80991c37b17e181dd1bb51d (patch)
tree8f9a30aea83351a4fbefabcd65a0adae850203fe /sound/soc/codecs/wm1250-ev1.c
parent80080ec5399acb4e83f1216b24fd07e93c5c4b2c (diff)
ASoC: Correct revision display for WM1250-EV1 module
The hardware documentation uses revision numbers starting at 1. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm1250-ev1.c')
-rw-r--r--sound/soc/codecs/wm1250-ev1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm1250-ev1.c b/sound/soc/codecs/wm1250-ev1.c
index a98a3ff1ee7..4523c4cec02 100644
--- a/sound/soc/codecs/wm1250-ev1.c
+++ b/sound/soc/codecs/wm1250-ev1.c
@@ -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);