Re: Continuous Interrupt Problem

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

 



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 <anish198519851985@xxxxxxxxx> wrote:
> On Thu, Jun 14, 2012 at 10:34 AM, siddharth saxena
> <siddharthsaxena1989@xxxxxxxxx> 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
>> Kernelnewbies@xxxxxxxxxxxxxxxxx
>> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@xxxxxxxxxxxxxxxxx
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



-- 
Regards,
Sarbojit

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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux