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 <[email protected]> wrote: > On Thu, Jun 14, 2012 at 10:34 AM, siddharth saxena > <[email protected]> wrote: >> 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. >> >> >> >> -- >> Regards >> Siddharth Saxena >> >> >> _______________________________________________ >> Kernelnewbies mailing list >> [email protected] >> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> > > _______________________________________________ > Kernelnewbies mailing list > [email protected] > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies -- Regards, Sarbojit _______________________________________________ Kernelnewbies mailing list [email protected] http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
