vaio_mux's num_items is not equal to the actual items
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.
At Thu, 11 Oct 2007 17:13:13 +0800,
Quoted 14 lines · zhejiang
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 }, } };
Quoted 2 lines
Why is the
num_itemsnot 3 ?
The "PCM" won't be selected withnum_times= 2.
Oops, simply forgot to change the value after a separate mic item was added. Will fix now.
Thanks,
Takashi