From: Robin H. Johnson Date: Sat, 13 Sep 2008 23:54:57 +0000 (-0700) Subject: ALSA: HDA: hda_proc: Fix printf format specifier X-Git-Tag: v2.6.28-rc1~720^2~51 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0481f4534910e644626a3607b2a1a979420a2d05;p=linux-2.6-omap-h63xx.git 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: Robin H. Johnson Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/hda/hda_proc.c b/sound/pci/hda/hda_proc.c index 4927c4b6bf6..743d77922bc 100644 --- a/sound/pci/hda/hda_proc.c +++ b/sound/pci/hda/hda_proc.c @@ -216,7 +216,7 @@ static void print_pin_caps(struct snd_info_buffer *buffer, unsigned int caps, val; 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) snd_iprintf(buffer, " IN"); if (caps & AC_PINCAP_OUT)