ALSA: HDA: hda_proc: Fix printf format specifier
authorRobin H. Johnson <robbat2@gentoo.org>
Sat, 13 Sep 2008 23:54:57 +0000 (16:54 -0700)
committerJaroslav Kysela <perex@perex.cz>
Tue, 23 Sep 2008 06:18:02 +0000 (08:18 +0200)
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 <robbat2@gentoo.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_proc.c

index 4927c4b6bf652ff486820c60b87cdb14ce49e879..743d77922bceda139d3c4c3498d28fec27ce2272 100644 (file)
@@ -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)