Skip to contentSkip to conversation

ASoC: Get correct revision id for wm2200

PATCH Applied Axel Lin 2 participants 2 messages Feb 16, 2012

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: Get correct revision id for wm2200

---
 sound/soc/codecs/wm2200.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/codecs/wm2200.c +1 -1
index a9388df..acbdc5f 100644
@@ -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');
 
Signature · 1 line
1.7.5.4