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 fdd8aa207730ad9015b8ffe41f4ec601afa88f8a..1b773bf4b52d7fc036bac36a3a9461df1e89d997 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);