[alsa-devel] [PATCH] ASoC: Get correct revision id for wm2200
16 Feb
2012
16 Feb
'12
3:05 a.m.
Signed-off-by: Axel Lin axel.lin@gmail.com --- 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');
--
1.7.5.4
16 Feb
16 Feb
3:19 a.m.
On Thu, Feb 16, 2012 at 10:05:59AM +0800, Axel Lin wrote:
Signed-off-by: Axel Lin axel.lin@gmail.com
Applied, thanks.
4694
Age (days ago)
4694
Last active (days ago)
1 comments
2 participants
participants (2)
-
Axel Lin
-
Mark Brown