ASoC: cs35l35: Fix display revision id
authorAxel Lin <axel.lin@ingics.com>
Sat, 11 Mar 2017 12:57:07 +0000 (20:57 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 13 Mar 2017 16:44:47 +0000 (16:44 +0000)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Paul Handrigan <Paul.Handrigan@cirrus.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l35.c

index 7c4d74ec32cb1bb433a4e35e7dd78920b491a2fd..a9e45dea309e54e2dcd34d6d7b6679073cca789e 100644 (file)
@@ -1463,7 +1463,7 @@ static int cs35l35_i2c_probe(struct i2c_client *i2c_client,
        }
 
        dev_info(dev, "Cirrus Logic CS35L35 (%x), Revision: %02X\n",
-                devid, ret & 0xFF);
+                devid, reg & 0xFF);
 
        /* Set the INT Masks for critical errors */
        regmap_write(cs35l35->regmap, CS35L35_INT_MASK_1,