mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
ASoC: Get correct revision id for wm2200
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
731f1ab290
commit
916be22c15
@ -2084,7 +2084,7 @@ static __devinit int wm2200_i2c_probe(struct i2c_client *i2c,
|
||||
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');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user