summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42l52.c
diff options
context:
space:
mode:
authorBrian Austin <brian.austin@cirrus.com>2013-10-25 19:01:17 +0400
committerMark Brown <broonie@linaro.org>2013-10-25 19:37:58 +0400
commite5f03af644c46b8713ddf5df545a32c1af8557ed (patch)
tree9aa495834a59a02a88080889aec3252a03c67ae2 /sound/soc/codecs/cs42l52.c
parent153723f6f1d13e7b9541b425ebdbaead4cc85346 (diff)
downloadlinux-e5f03af644c46b8713ddf5df545a32c1af8557ed.tar.xz
ASoC: cs42l52: Add chip rev id message
This patch adds a print message at bootup for the CODEC Rev ID Signed-off-by: Brian Austin <brian.austin@cirrus.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/cs42l52.c')
-rw-r--r--sound/soc/codecs/cs42l52.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/codecs/cs42l52.c b/sound/soc/codecs/cs42l52.c
index 56c5611fa752..8b427c977083 100644
--- a/sound/soc/codecs/cs42l52.c
+++ b/sound/soc/codecs/cs42l52.c
@@ -1223,6 +1223,9 @@ static int cs42l52_i2c_probe(struct i2c_client *i2c_client,
return ret;
}
+ dev_info(&i2c_client->dev, "Cirrus Logic CS42L52, Revision: %02X\n",
+ reg & 0xFF);
+
/* Set Platform Data */
if (cs42l52->pdata.mica_cfg)
regmap_update_bits(cs42l52->regmap, CS42L52_MICA_CTL,