summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs35l35.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2017-03-11 20:57:07 +0800
committerMark Brown <broonie@kernel.org>2017-03-13 16:44:47 +0000
commit82875163a8ef1e25477402c5ebb8f5beaea5e93e (patch)
treed32e20646adba4eca7a1375f174a8ecf23c6009a /sound/soc/codecs/cs35l35.c
parentbf5043d69c9bf33696f9151552175f1203f8c9d9 (diff)
downloadlinux-82875163a8ef1e25477402c5ebb8f5beaea5e93e.tar.bz2
ASoC: cs35l35: Fix display revision id
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>
Diffstat (limited to 'sound/soc/codecs/cs35l35.c')
-rw-r--r--sound/soc/codecs/cs35l35.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs35l35.c b/sound/soc/codecs/cs35l35.c
index 7c4d74ec32cb..a9e45dea309e 100644
--- a/sound/soc/codecs/cs35l35.c
+++ b/sound/soc/codecs/cs35l35.c
@@ -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,