From: Mark Brown Date: Wed, 9 Feb 2011 13:47:07 +0000 (+0000) Subject: ASoC: Display WM8903 chip revision alphabetically X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1d8d62d637577afc568da32e3ecc7bddc11db56d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ASoC: Display WM8903 chip revision alphabetically Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- diff --git a/sound/soc/codecs/wm8903.c b/sound/soc/codecs/wm8903.c index 7c84ebf3420a..e6ba4d05bf2e 100644 --- a/sound/soc/codecs/wm8903.c +++ b/sound/soc/codecs/wm8903.c @@ -1781,8 +1781,8 @@ static int wm8903_probe(struct snd_soc_codec *codec) } val = snd_soc_read(codec, WM8903_REVISION_NUMBER); - dev_info(codec->dev, "WM8903 revision %d\n", - val & WM8903_CHIP_REV_MASK); + dev_info(codec->dev, "WM8903 revision %c\n", + (val & WM8903_CHIP_REV_MASK) + 'A'); wm8903_reset(codec);