Skip to contentSkip to conversation

ASoC: cs35l35: Fix display revision id

PATCH In review Axel Lin 2 participants 2 messages Mar 11, 2017 – Mar 13, 2017

Subsystems (3)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 ASoC: cs35l35: Fix display revision id

---
 sound/soc/codecs/cs35l35.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/cs35l35.c +1 -1
index 260ed42..9c82e5e 100644
@@ -1468,7 +1468,7 @@ static int cs35l35_i2c_probe(struct i2c_client *i2c_client,
 
 	dev_info(&i2c_client->dev,
 		 "Cirrus Logic CS35L35 (%x), Revision: %02X\n", devid,
-		ret & 0xFF);
+		reg & 0xFF);
 
 	/* Set the INT Masks for critical errors */
 	regmap_write(cs35l35->regmap, CS35L35_INT_MASK_1,
Signature · 1 line
2.9.3
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Axel Lin
---
 sound/soc/codecs/cs35l35.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/cs35l35.c +0 -0
index 260ed42..9c82e5e 100644

sound/soc/codecs/cs35l35.c static int cs35l35_i2c_probe(struct i2c_client *i2c_client, · line 1474

Quoted 8 lines
sound/soc/codecs/cs35l35.c +1 -1
@@ -1468,7 +1468,7 @@ static int cs35l35_i2c_probe(struct i2c_client *i2c_client,
 
 	dev_info(&i2c_client->dev,
 		 "Cirrus Logic CS35L35 (%x), Revision: %02X\n", devid,
-		ret & 0xFF);
+		reg & 0xFF);
 
 	/* Set the INT Masks for critical errors */
 	regmap_write(cs35l35->regmap, CS35L35_INT_MASK_1,