diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-02-16 02:05:59 (GMT) |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-16 02:18:56 (GMT) |
commit | 916be22c150f89639976700c2023ca9b2a5ccebd (patch) | |
tree | 71057ce6df601a7153796adc84faf3a9d7056657 /sound/soc/codecs/wm2200.c | |
parent | 731f1ab290ca1e59430ab222290d379222eb38a5 (diff) | |
download | linux-fsl-qoriq-916be22c150f89639976700c2023ca9b2a5ccebd.tar.xz |
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>
Diffstat (limited to 'sound/soc/codecs/wm2200.c')
-rw-r--r-- | sound/soc/codecs/wm2200.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm2200.c b/sound/soc/codecs/wm2200.c index a9388df..acbdc5f 100644 --- a/sound/soc/codecs/wm2200.c +++ b/sound/soc/codecs/wm2200.c @@ -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'); |