From: Takashi Iwai Subject: Re: [PATCH] Reduce interrupt latency in sound/pci/via82xx.c Date: Thu, 29 Sep 2005 15:56:52 +0200 Message-ID: References: <200509121418.05184.annabellesgarden@yahoo.de> <4325FA70.3090702@superbug.co.uk> <200509131318.25702.annabellesgarden@yahoo.de> <200509262052.38990.annabellesgarden@yahoo.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: 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: Karsten Wiese Cc: James Courtier-Dutton , alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 29 Sep 2005 12:44:59 +0200, I wrote: > > Otherwise, it looks fine to me. Oh, also it'd be helpful to write irq handler like below: irqreturn_t foo() { int handled = 0; ... if (something) handled = 1; ... return IRQ_RETVAL(handled); } This makes possible to compile even on 2.2/2.4 kernels without patches. thanks, Takashi ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl