ASoC: cs42l73: Show correct revision id
authorAxel Lin <axel.lin@gmail.com>
Sat, 19 Nov 2011 02:17:36 +0000 (10:17 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 21 Nov 2011 17:05:52 +0000 (17:05 +0000)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/cs42l73.c

index fdd8aa2..1b773bf 100644 (file)
@@ -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);