projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
153723f
)
ASoC: cs42l52: Add chip rev id message
author
Brian Austin
<brian.austin@cirrus.com>
Fri, 25 Oct 2013 15:01:17 +0000
(10:01 -0500)
committer
Mark Brown
<broonie@linaro.org>
Fri, 25 Oct 2013 15:37:58 +0000
(16:37 +0100)
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>
sound/soc/codecs/cs42l52.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/cs42l52.c
b/sound/soc/codecs/cs42l52.c
index 56c5611fa75231faf877f13ef82c2dd0e5216846..8b427c97708365e5e1e40aad701f740b62c365be 100644
(file)
--- 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,