Commit 916be22c authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ASoC: Get correct revision id for wm2200

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 731f1ab2
...@@ -2084,7 +2084,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c, ...@@ -2084,7 +2084,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c,
goto err_reset; goto err_reset;
} }
wm2200->rev = ret & WM2200_DEVICE_REVISION_MASK; wm2200->rev = reg & WM2200_DEVICE_REVISION_MASK;
dev_info(&i2c->dev, "revision %c\n", wm2200->rev + 'A'); dev_info(&i2c->dev, "revision %c\n", wm2200->rev + 'A');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment