diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2015-06-25 13:58:58 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-06 20:30:02 +0100 |
commit | 8f68e80f5f434980ab9bae713bab6a3ff1ac07df (patch) | |
tree | a857ba18d4b70cda038724b5c47ff2af5edcb1ab /sound/soc | |
parent | d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 (diff) | |
download | linux-8f68e80f5f434980ab9bae713bab6a3ff1ac07df.tar.bz2 |
ASoC: rt5645: Prefix hexadecimal ID register value with 0x in error print
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/rt5645.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c index 9ce311e088fc..a5bc96a0e77c 100644 --- a/sound/soc/codecs/rt5645.c +++ b/sound/soc/codecs/rt5645.c @@ -3296,7 +3296,7 @@ static int rt5645_i2c_probe(struct i2c_client *i2c, break; default: dev_err(&i2c->dev, - "Device with ID register %x is not rt5645 or rt5650\n", + "Device with ID register %#x is not rt5645 or rt5650\n", val); return -ENODEV; } |