From: Takashi Iwai Subject: Re: vaio_mux's num_items is not equal to the actual items Date: Thu, 11 Oct 2007 11:19:40 +0200 Message-ID: References: <1192093994.19937.9.camel@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E97B1244F1 for ; Thu, 11 Oct 2007 11:19:40 +0200 (CEST) In-Reply-To: <1192093994.19937.9.camel@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: zhejiang Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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