projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d770e55
)
ASoC: rt5651: Prefix hexadecimal ID register value with 0x in error print
author
Jarkko Nikula
<jarkko.nikula@linux.intel.com>
Thu, 25 Jun 2015 10:58:59 +0000
(13:58 +0300)
committer
Mark Brown
<broonie@kernel.org>
Mon, 6 Jul 2015 19:30:07 +0000
(20:30 +0100)
Make it obvious that unexpected value read from ID register is printed in
hexadecimal.
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5651.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/rt5651.c
b/sound/soc/codecs/rt5651.c
index a3506e193abcd26f90884bf592154a980b797f6a..96bbb7d12a83aebd00932f2f29e569f55a2004cb 100644
(file)
--- a/
sound/soc/codecs/rt5651.c
+++ b/
sound/soc/codecs/rt5651.c
@@
-1769,7
+1769,7
@@
static int rt5651_i2c_probe(struct i2c_client *i2c,
regmap_read(rt5651->regmap, RT5651_DEVICE_ID, &ret);
if (ret != RT5651_DEVICE_ID_VALUE) {
dev_err(&i2c->dev,
- "Device with ID register %x is not rt5651\n", ret);
+ "Device with ID register %
#
x is not rt5651\n", ret);
return -ENODEV;
}