Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: rt5677: 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>

authored by

Jarkko Nikula and committed by
Mark Brown
aa0bcc5c d770e558

+1 -1
+1 -1
sound/soc/codecs/rt5677.c
··· 5209 5209 regmap_read(rt5677->regmap, RT5677_VENDOR_ID2, &val); 5210 5210 if (val != RT5677_DEVICE_ID) { 5211 5211 dev_err(&i2c->dev, 5212 - "Device with ID register %x is not rt5677\n", val); 5212 + "Device with ID register %#x is not rt5677\n", val); 5213 5213 return -ENODEV; 5214 5214 } 5215 5215