提交 0481f453 编写于 作者: R Robin H. Johnson 提交者: Jaroslav Kysela

ALSA: HDA: hda_proc: Fix printf format specifier

The Pincap output had a typod format specifier, leading to an extraneous "08"
in the output, which is a reserved bit of the Vref field, and was really
confused :-).
Signed-off-by: NRobin H. Johnson <robbat2@gentoo.org>
Signed-off-by: NTakashi Iwai <tiwai@suse.de>
Signed-off-by: NJaroslav Kysela <perex@perex.cz>
上级 35e8901e
...@@ -216,7 +216,7 @@ static void print_pin_caps(struct snd_info_buffer *buffer, ...@@ -216,7 +216,7 @@ static void print_pin_caps(struct snd_info_buffer *buffer,
unsigned int caps, val; unsigned int caps, val;
caps = snd_hda_param_read(codec, nid, AC_PAR_PIN_CAP); caps = snd_hda_param_read(codec, nid, AC_PAR_PIN_CAP);
snd_iprintf(buffer, " Pincap 0x08%x:", caps); snd_iprintf(buffer, " Pincap 0x%08x:", caps);
if (caps & AC_PINCAP_IN) if (caps & AC_PINCAP_IN)
snd_iprintf(buffer, " IN"); snd_iprintf(buffer, " IN");
if (caps & AC_PINCAP_OUT) if (caps & AC_PINCAP_OUT)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册