From: Jarkko Nikula Date: Thu, 25 Jun 2015 10:58:58 +0000 (+0300) Subject: ASoC: rt5645: Prefix hexadecimal ID register value with 0x in error print X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f68e80f5f434980ab9bae713bab6a3ff1ac07df;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git 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 Signed-off-by: Mark Brown --- 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; }