Skip to content

Commit

Permalink
ASoC: Correct revision display for WM1250-EV1 module
Browse files Browse the repository at this point in the history
The hardware documentation uses revision numbers starting at 1.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Aug 15, 2011
1 parent 80080ec commit 5c58b73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm1250-ev1.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5c58b73

Please sign in to comment.