From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Subject: Re: [PATCH] Input: mpu3050: set IRQF_ONESHOT when requesting the interrupt Date: Wed, 09 May 2012 13:35:23 -0600 Message-ID: <4FAAC6FB.2010308@wwwdotorg.org> References: <1335894406-27428-1-git-send-email-swarren@wwwdotorg.org> <20120509052301.GB10514@core.coreip.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from avon.wwwdotorg.org ([70.85.31.133]:37585 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753319Ab2EITf1 (ORCPT ); Wed, 9 May 2012 15:35:27 -0400 In-Reply-To: <20120509052301.GB10514@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: Thomas Gleixner , linux-input@vger.kernel.org, Stephen Warren , Alan Cox On 05/08/2012 11:23 PM, Dmitry Torokhov wrote: > Hi Stephen, > > On Tue, May 01, 2012 at 11:46:46AM -0600, Stephen Warren wrote: >> From: Stephen Warren >> >> Commit 1c6c695 "genirq: Reject bogus threaded irq requests" requires >> that request_threaded_irq() either be passed an explicit handler, or >> that IRQF_ONESHOT be set. Set this flag. >> >> Signed-off-by: Stephen Warren > > Applied, thank you. > > BTW, since it appears you have the hardware any chance you could try the > patch below? I had it in my queue for a while but Alan disappeared and > I didn't have anyone to test it. I tested the patch with an interrupt supplied, and still see periodic output from evbug that appears to correlate with when I move the board. I'm not sure how to test it in polled mode. What application would I use to trigger the polling? evtest just seems to print out the initial values, but not poll.