[alsa-devel] [PATCH] ASoC: cs35l35: Fix display revision id
Axel Lin
axel.lin at ingics.com
Sat Mar 11 13:57:07 CET 2017
Signed-off-by: Axel Lin <axel.lin at ingics.com>
---
sound/soc/codecs/cs35l35.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c
index 260ed42..9c82e5e 100644
--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -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,
--
2.9.3
More information about the Alsa-devel
mailing list