[alsa-devel] vaio_mux's num_items is not equal to the actual items
11 Oct
2007
11 Oct
'07
11:13 a.m.
In patch_sigmatel.c,
static struct hda_input_mux vaio_mux = { .num_items = 2, .items = { /* { "HP", 0x0 }, */ { "Mic Jack", 0x1 }, { "Internal Mic", 0x2 }, { "PCM", 0x3 }, } };
Why is the num_items not 3 ? The "PCM" won't be selected with num_times = 2.
11 Oct
11 Oct
11:19 a.m.
New subject: [alsa-devel] vaio_mux's num_items is not equal to the actual items
At Thu, 11 Oct 2007 17:13:13 +0800, zhejiang wrote:
In patch_sigmatel.c,
static struct hda_input_mux vaio_mux = { .num_items = 2, .items = { /* { "HP", 0x0 }, */ { "Mic Jack", 0x1 }, { "Internal Mic", 0x2 }, { "PCM", 0x3 }, } };
Why is the num_items not 3 ? The "PCM" won't be selected with num_times = 2.
Oops, simply forgot to change the value after a separate mic item was added. Will fix now.
Thanks,
Takashi
6282
Age (days ago)
6282
Last active (days ago)
1 comments
2 participants
participants (2)
-
Takashi Iwai
-
zhejiang