From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754352AbYIQOFK (ORCPT ); Wed, 17 Sep 2008 10:05:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752416AbYIQOE6 (ORCPT ); Wed, 17 Sep 2008 10:04:58 -0400 Received: from ns.suse.de ([195.135.220.2]:50201 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752068AbYIQOE5 (ORCPT ); Wed, 17 Sep 2008 10:04:57 -0400 Date: Wed, 17 Sep 2008 16:04:55 +0200 Message-ID: From: Takashi Iwai To: "peerchen" Cc: "Wei Ni" , "Pavel Hofman" , "Peer Chen" , "alsa-devel" , "linux-kernel" , "akpm" Subject: Re: [alsa-devel] [PATCH] add the nvidia HDMI codec driverfor MCP77/79 In-Reply-To: <200809171700022814652@gmail.com> References: <200809031558156739794@gmail.com> <15F501D1A78BD343BE8F4D8DB854566B31F8F744@hkemmail01.nvidia.com> <48BE7EE4.8020800@insite.cz> User-Agent: Wanderlust/2.12.0 (Your Wildest Dreams) SEMI/1.14.6 (Maruoka) FLIM/1.14.7 (=?ISO-8859-4?Q?Sanj=F2?=) APEL/10.6 Emacs/22.2 (x86_64-suse-linux-gnu) MULE/5.0 (SAKAKI) 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, 17 Sep 2008 17:00:04 +0800, peerchen wrote: > > new patch base on git tree. > > Signed-off-by: Wei Ni > Signed-off-by: Peer Chen Thanks! But, the patch looks like no "rebase". You secretly added a new function call that wasn't in your previous patch, namely... > diff -uprN -X linux-2.6-tiwai-sound/Documentation/dontdiff linux-2.6-tiwai-sound/sound/pci/hda/hda_intel.c linux-2.6-tiwai-sound-niwei/sound/pci/hda/hda_intel.c > --- linux-2.6-tiwai-sound/sound/pci/hda/hda_intel.c 2008-09-10 17:40:52.000000000 +0800 > +++ linux-2.6-tiwai-sound-niwei/sound/pci/hda/hda_intel.c 2008-09-10 17:49:31.000000000 +0800 > @@ -1220,6 +1220,9 @@ static int __devinit azx_codec_create(st > if (err < 0) > return err; > > + if (chip->driver_type == AZX_DRIVER_NVIDIA) > + chip->bus->needs_damn_long_delay = 1; > + Do we really need this inevitably? I don't think so -- otherwise I would have far more bug reports. This flag is the last resort and should be avoided as much as possible. This results in a significant slow down of suspend/resume speed, for example. If it's really needed with some devices and there is no other way to fix it, add this flag rather in the codec-initialization part. Also, if you resend a patch, please add the original patch description again. This helps my patch work a lot indeed. thanks, Takashi