All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@wwwdotorg.org>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	linux-input@vger.kernel.org, Stephen Warren <swarren@nvidia.com>,
	Alan Cox <alan@linux.intel.com>
Subject: Re: [PATCH] Input: mpu3050: set IRQF_ONESHOT when requesting the interrupt
Date: Wed, 09 May 2012 13:35:23 -0600	[thread overview]
Message-ID: <4FAAC6FB.2010308@wwwdotorg.org> (raw)
In-Reply-To: <20120509052301.GB10514@core.coreip.homeip.net>

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 <swarren@nvidia.com>
>>
>> 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 <swarren@nvidia.com>
> 
> 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.

  parent reply	other threads:[~2012-05-09 19:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-01 17:46 [PATCH] Input: mpu3050: set IRQF_ONESHOT when requesting the interrupt Stephen Warren
2012-05-09  5:23 ` Dmitry Torokhov
2012-05-09 11:48   ` Alan Cox
2012-05-09 19:35   ` Stephen Warren [this message]
2012-05-11  7:29     ` Dmitry Torokhov
2012-05-11 18:29       ` Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FAAC6FB.2010308@wwwdotorg.org \
    --to=swarren@wwwdotorg.org \
    --cc=alan@linux.intel.com \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=swarren@nvidia.com \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.