ASoC: Display WM8903 chip revision alphabetically
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
parent
4b592c919c
commit
1d8d62d637
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue