ASoC: Display WM8903 chip revision alphabetically
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Feb 2011 13:47:07 +0000 (13:47 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 9 Feb 2011 22:48:17 +0000 (22:48 +0000)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm8903.c

index 7c84ebf..e6ba4d0 100644 (file)
@@ -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);