summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs42l73.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-11-19 03:17:36 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-21 18:05:52 +0100
commit8421f620da9717dade941d0dc9570ad731b4a9ca (patch)
treea2212f1c9e139336f4ef7a8267c79d86f214c459 /sound/soc/codecs/cs42l73.c
parentASoC: cs42l73: Return proper error code if device id mismatch (diff)
downloadlinux-8421f620da9717dade941d0dc9570ad731b4a9ca.tar.xz
linux-8421f620da9717dade941d0dc9570ad731b4a9ca.zip
ASoC: cs42l73: Show correct revision id
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/cs42l73.c')
-rw-r--r--sound/soc/codecs/cs42l73.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l73.c b/sound/soc/codecs/cs42l73.c
index fdd8aa207730..1b773bf4b52d 100644
--- a/sound/soc/codecs/cs42l73.c
+++ b/sound/soc/codecs/cs42l73.c
@@ -1383,7 +1383,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);