From: Mark Brown Date: Sun, 14 Aug 2011 10:07:33 +0000 (+0900) Subject: ASoC: Correct revision display for WM1250-EV1 module X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5c58b739c3a1cc41a80991c37b17e181dd1bb51d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ASoC: Correct revision display for WM1250-EV1 module The hardware documentation uses revision numbers starting at 1. Signed-off-by: Mark Brown --- 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);