提交 5c58b739 编写于 作者: M Mark Brown

ASoC: Correct revision display for WM1250-EV1 module

The hardware documentation uses revision numbers starting at 1.
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 80080ec5
...@@ -74,7 +74,7 @@ static int __devinit wm1250_ev1_probe(struct i2c_client *i2c, ...@@ -74,7 +74,7 @@ static int __devinit wm1250_ev1_probe(struct i2c_client *i2c,
return -ENODEV; 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, return snd_soc_register_codec(&i2c->dev, &soc_codec_dev_wm1250_ev1,
&wm1250_ev1_dai, 1); &wm1250_ev1_dai, 1);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册