From: Takashi Iwai Subject: Re: [PATCH] RESEND: Acer Aspire 8930G support Date: Tue, 02 Jun 2009 11:01:36 +0200 Message-ID: References: <4A24CD7B.4060809@marcansoft.com> <4A24E4DB.2050801@marcansoft.com> 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 mx1.suse.de (cantor.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 85C90244D7 for ; Tue, 2 Jun 2009 11:01:39 +0200 (CEST) In-Reply-To: <4A24E4DB.2050801@marcansoft.com> 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: Hector Martin Cc: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Tue, 02 Jun 2009 10:37:47 +0200, Hector Martin wrote: > > Takashi Iwai wrote: > > The changes you made are fine, but could you reformat the patch as > > checkpatch.pl-clean and repost? > > Done. > > - spec->multiout.max_channels = spec->channel_mode[0].channels; > + if (preset->const_channel_count == 0) This should be != instead of ==, right? > + spec->multiout.max_channels = preset->const_channel_count; > + else > + spec->multiout.max_channels = spec->channel_mode[0].channels; > + spec->ext_channel_count = spec->channel_mode[0].channels; I applied the patch with slight fix like the above and the reorder of the quirk entry together with the addition to HD-Audio-Models.txt now. thanks, Takashi