Hi Arun<br><br>I tried changing the flag to IRQF_TRIGGER_HIGH but then device is behaving abnormally(Hangs and is dead after some time).<br>Flooding interrupts still observed. Problem not solved.<br><br>I want to know, are we supposed to change interrupt pin status or it is done automatically when we return IRQ_HANDLED. <br>
<br><br><br><br><div class="gmail_quote">On Thu, Jun 14, 2012 at 12:21 PM, Sarbojit Ganguly <span dir="ltr"><<a href="mailto:unixman.linuxboy@gmail.com" target="_blank">unixman.linuxboy@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Arun,<br>
<br>
While I agree to your pointers but he is facing the problem of<br>
"interrupt floods" even before he touches.<br>
IMHO the culprit could be the flag.<br>
<div class="HOEnZb"><div class="h5"><br>
On 14 June 2012 12:01, Arun KS <<a href="mailto:getarunks@gmail.com">getarunks@gmail.com</a>> wrote:<br>
> Hello Siddharth,<br>
><br>
> On Thu, Jun 14, 2012 at 10:34 AM, siddharth saxena<br>
> <<a href="mailto:siddharthsaxena1989@gmail.com">siddharthsaxena1989@gmail.com</a>> wrote:<br>
>> Hi all<br>
>><br>
>> I need help with an issue.<br>
>> I have written a touch driver for a device and used the flag<br>
>> IRQF_TRIGGER_LOW to request irq.<br>
>> Now, when I boot the device, the touch interrupts are coming already without<br>
>> touching the screen.<br>
>> Continuous interrupts are occurring without any touch.<br>
><br>
> Probably the default state of the gpio pin(which you configured as<br>
> irq) is low. Check your HW schematic.<br>
><br>
> TSC should have interrupt polarity(Active High/Low), which you have to<br>
> choose depending on your schematic while initiallizing the TSC.<br>
> Also different modes like assert interrupt when finger moving, when<br>
> finger touch, or assert periodically.<br>
><br>
> Hope these pointer will help you.<br>
><br>
> Thanks,<br>
> Arun<br>
><br>
>><br>
>><br>
>><br>
>> --<br>
>> Regards<br>
>> Siddharth Saxena<br>
>><br>
>><br>
>> _______________________________________________<br>
>> Kernelnewbies mailing list<br>
>> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
>> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
>><br>
><br>
> _______________________________________________<br>
> Kernelnewbies mailing list<br>
> <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
> <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Regards,<br>
Sarbojit<br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br>Regards<div>Siddharth Saxena</div><br>