From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: Threaded interrupts for synaptic touchscreen in HTC dream Date: Thu, 23 Jul 2009 16:55:37 +0200 Message-ID: <20090723145537.GA28158@elf.ucw.cz> References: <20090714100634.GA4054@elf.ucw.cz> <5d5443650907140320w334864f4uc1ee13ed32fdb874@mail.gmail.com> <20090715133627.GA2538@elf.ucw.cz> <5d5443650907151033w36008b71pe4b32bcea9489b75@mail.gmail.com> <20090721105924.GK4133@elf.ucw.cz> <20090721113642.GC13286@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:52786 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752987AbZGWOzn (ORCPT ); Thu, 23 Jul 2009 10:55:43 -0400 Content-Disposition: inline In-Reply-To: <20090721113642.GC13286@sirena.org.uk> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Mark Brown Cc: Trilok Soni , Arve Hj?nnev?g , kernel list , Brian Swetland , dmitry.torokhov@gmail.com, dtor@mail.ru, linux-input@vger.kernel.org, Andrew Morton , linux-i2c@vger.kernel.org > > +static irqreturn_t synaptics_ts_hardirq(int irq, void *dev_id) > > +{ > > + disable_irq_nosync(irq); > > + return IRQ_WAKE_THREAD; > > Are you sure that this is going to work? The IRQ thread code will not No, I'm not. I copied it from somewhere and could not really test it. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html