summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm1250-ev1.c
diff options
context:
space:
mode:
authorMark Brown2011-08-14 12:07:33 +0200
committerMark Brown2011-08-15 16:54:07 +0200
commit5c58b739c3a1cc41a80991c37b17e181dd1bb51d (patch)
tree8f9a30aea83351a4fbefabcd65a0adae850203fe /sound/soc/codecs/wm1250-ev1.c
parentASoC: Add device tree binding for WM8741 (diff)
downloadkernel-qcow2-linux-5c58b739c3a1cc41a80991c37b17e181dd1bb51d.tar.gz
kernel-qcow2-linux-5c58b739c3a1cc41a80991c37b17e181dd1bb51d.tar.xz
kernel-qcow2-linux-5c58b739c3a1cc41a80991c37b17e181dd1bb51d.zip
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 a98a3ff1ee73..4523c4cec02b 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);