[alsa-devel] [PATCH 2/2] ASoC: cs42l73: Show correct revision id
Axel Lin
axel.lin at gmail.com
Sat Nov 19 03:17:36 CET 2011
Signed-off-by: Axel Lin <axel.lin at gmail.com>
---
sound/soc/codecs/cs42l73.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c
index 3eed21e..066d869 100644
--- a/sound/soc/codecs/cs42l73.c
+++ b/sound/soc/codecs/cs42l73.c
@@ -1384,7 +1384,7 @@ static __devinit int cs42l73_i2c_probe(struct i2c_client *i2c_client,
}
dev_info(&i2c_client->dev,
- "Cirrus Logic CS42L73, Revision: %02X\n", ret & 0xFF);
+ "Cirrus Logic CS42L73, Revision: %02X\n", reg & 0xFF);
regcache_cache_only(cs42l73->regmap, true);
--
1.7.5.4
More information about the Alsa-devel
mailing list