From: Takashi Iwai Subject: Re: [PATCH] Huge AZT3328 driver update Date: Tue, 25 Oct 2005 12:20:21 +0200 Message-ID: References: <20051023175734.GA14252@rhlx01.fht-esslingen.de> <20051024125339.GA28898@rhlx01.fht-esslingen.de> <20051024215518.GA4206@rhlx01.fht-esslingen.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <20051024215518.GA4206@rhlx01.fht-esslingen.de> Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: andi@lisas.de Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 24 Oct 2005 23:55:18 +0200, Andreas Mohr wrote: > > Hi, > > On Mon, Oct 24, 2005 at 02:59:55PM +0200, Takashi Iwai wrote: > > At Mon, 24 Oct 2005 14:53:39 +0200, > > Andreas Mohr wrote: > > > > > > Hi, > > > > > > On Mon, Oct 24, 2005 at 02:43:58PM +0200, Takashi Iwai wrote: > > > > At Sun, 23 Oct 2005 19:57:34 +0200, > > > > Andreas Mohr wrote: > > > > > + reg_lock_ptr = &chip->reg_lock; > > > > > > > > Better to use the conventional style, spin_lock(&foo->lock). > > > Well, in your definition of "Better" ;) > > > My definition of "Better" usually is what's faster, unless it's dirt ugly. > > > (and that particular trick saves one memory addressing instruction, and > > > that instruction would have been *within* the locked area, too) > > > > It's uncoventional, and decreases the readability a lot. > > That would beat such a minimal performance gain. > > Hmm, ok, attached is the same patch with all reg_lock_ptr shortcuts removed > (I realized that it wasn't in the IRQ handler only...). Thanks, I committed now. > Now I think I know why I didn't get through to alsa-devel - mail size limit... > (gzipped patch now) > > Thanks, > > Andreas Mohr > > Signed-off-by: Andreas Mohr > (those updates done by me, and me alone) Signed-off-by is nothing but a kind of ack sign. It doesn't show the author of the patch. We pick up automatically the patch author either from the first signed-off-by submitter or explicitly the from header. Takashi ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information