Skip to content

Commit

Permalink
ASoC: Get correct revision id for wm2200
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Feb 16, 2012
1 parent 731f1ab commit 916be22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/codecs/wm2200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 916be22

Please sign in to comment.