Re: [PATCH] Input: mpu3050: set IRQF_ONESHOT when requesting the interrupt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
>>
>> 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@xxxxxxxxxx>
> 
> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux