]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] hda-codec - Fix input_mux numbers for vaio stac92xx
authorTakashi Iwai <tiwai@suse.de>
Thu, 11 Oct 2007 09:21:21 +0000 (11:21 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2007 14:51:11 +0000 (16:51 +0200)
My bad, I forgot to update the num_items field when added a new item
to vaio_mux items table, so the last item 'PCM' disappeared.
Now it has the right number 3.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/patch_sigmatel.c

index 9fae4f1296bb3d0d9afc6fce8c947979d2eec370..8b3576007d4a8bb36347acb871c0b30b4b464d5b 100644 (file)
@@ -2875,7 +2875,7 @@ static hda_nid_t vaio_adcs[] = { 0x8 /*,0x6*/ };
 static hda_nid_t vaio_mux_nids[] = { 0x15 };
 
 static struct hda_input_mux vaio_mux = {
-       .num_items = 2,
+       .num_items = 3,
        .items = {
                /* { "HP", 0x0 }, */
                { "Mic Jack", 0x1 },