Thread (14 messages) 14 messages, 5 authors, 2012-06-16

Continuous Interrupt Problem

From: Sarbojit Ganguly <hidden>
Date: 2012-06-14 06:20:15

To my understanding "IRQF_TRIGGER_LOW" is a flag which will trigger
the interrupt when the line is _low_.
Now, since you are not touching, the line remains low and satifies the
condition. Hence the interrupt is triggered by the core.

Can you change it to IRQF_TRIGGER_HIGH and recheck. Please consult the
hardware documentation too.



On 14 June 2012 10:43, anish singh [off-list ref] wrote:
On Thu, Jun 14, 2012 at 10:34 AM, siddharth saxena
[off-list ref] wrote:
quoted
Hi all

I need help with an issue.
I have written a touch driver for a device and used the flag
IRQF_TRIGGER_LOW to request irq.
Now, when I boot the device, the touch interrupts are coming already without
touching the screen.
Continuous interrupts are occurring without any touch.
try disabling the interrupt after you do request_irq and once you are
ready to handle
interrupts you can enable it.
quoted


--
Regards
Siddharth Saxena


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


-- 
Regards,
Sarbojit
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help