From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756738Ab0CCVtV (ORCPT ); Wed, 3 Mar 2010 16:49:21 -0500 Received: from cantor.suse.de ([195.135.220.2]:54894 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753235Ab0CCVtH (ORCPT ); Wed, 3 Mar 2010 16:49:07 -0500 Date: Wed, 03 Mar 2010 22:49:03 +0100 Message-ID: From: Takashi Iwai To: Wei Ni Cc: "'Pavel Hofman'" , "'alsa-devel'" , "'linux-kernel'" , "'akpm'" Subject: Re: [alsa-devel] [PATCH]Support MCP89 and GT21x hdmi audio In-Reply-To: <6B4D417B830BC44B8026029FD256F7F1C16A89A11C@HKMAIL01.nvidia.com> References: <6B4D417B830BC44B8026029FD256F7F1C068B2BA8B@HKMAIL01.nvidia.com> <6B4D417B830BC44B8026029FD256F7F1C068B2BA8C@HKMAIL01.nvidia.com> <6B4D417B830BC44B8026029FD256F7F1C16A89A118@HKMAIL01.nvidia.com> <6B4D417B830BC44B8026029FD256F7F1C16A89A11A@HKMAIL01.nvidia.com> <6B4D417B830BC44B8026029FD256F7F1C16A89A11C@HKMAIL01.nvidia.com> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Wed, 3 Mar 2010 15:21:12 +0800, Wei Ni wrote: > > Hi, Takashi > I generate the new patch file, please check it. Thanks. Review comments below: > @@ -1367,6 +1368,7 @@ static void azx_bus_reset(struct hda_bus *bus) > > /* number of codec slots for each chipset: 0 = default slots (i.e. 4) */ > static unsigned int azx_max_codecs[AZX_NUM_DRIVERS] __devinitdata = { > + [AZX_DRIVER_NVIDIA] = 8, Are you sure that this works for all Nvidia controller chips including the old nForce chipset? > diff --git a/sound/pci/hda/Makefile b/sound/pci/hda/Makefile > index 315a1c4..199f440 100644 > --- a/sound/pci/hda/Makefile > +++ b/sound/pci/hda/Makefile > @@ -17,7 +17,7 @@ snd-hda-codec-cirrus-objs := patch_cirrus.o > snd-hda-codec-ca0110-objs := patch_ca0110.o > snd-hda-codec-conexant-objs := patch_conexant.o > snd-hda-codec-via-objs := patch_via.o > -snd-hda-codec-nvhdmi-objs := patch_nvhdmi.o > +snd-hda-codec-nvhdmi-objs := patch_nvhdmi.o hda_eld.o > snd-hda-codec-intelhdmi-objs := patch_intelhdmi.o hda_eld.o This is buggy. You cannot create multiple modules containing the same *.o file that exports symbols. Instead, put hda_eld.o to snd-hda-codec-* (currently commented out), and remove hda_eld.o from snd-hda-codec-intelhdmi-objs. Takashi