reset the interrupt in the device, can confidently return IRQ_HANDLED... -Asim On Sun, Dec 14, 2008 at 9:00 PM, Wang Yu <wangyuict@xxxxxxxxx> wrote: > Om....what do you mean of "ISR lowered the interrupt"? > > On Mon, Dec 15, 2008 at 8:58 AM, Asim <linkasim@xxxxxxxxx> wrote: >> >> Thanks Greg for your reply. >> >> I just want to know if the ISR lowered the interrupt atleast once >> after entering the ISR. I want to find this out without reading the >> device's register. I realize the problem that there still may be a >> pending interrupt when I do this check which can cause some problems. >> >> I have a custom device which does not respond properly, if there is an >> interface for this it would help me grately since I have no control to >> change the device. >> >> Regards, >> Asim >> >> On 12/13/08, Greg KH <greg@xxxxxxxxx> wrote: >> > On Sat, Dec 13, 2008 at 11:29:05AM -0600, Asim wrote: >> >> Hi, >> >> >> >> Is there any kernel routine to check if there are no pending >> >> interrupts, give an IRQ number ? >> > >> > Nope, because who is to say an interrupt doesn't happen right after the >> > function returns? :) >> > >> > What are you trying to do? Just register an interrupt handler properly >> > and you should be fine, don't try to test for anything yourself. >> > >> > thanks, >> > >> > greg k-h >> > >> >> -- >> To unsubscribe from this list: send an email with >> "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx >> Please read the FAQ at http://kernelnewbies.org/FAQ >> > > > > -- > National Research Center for Intelligent Computing Systems > Institute of Computing Technology, Chinese Academy of Sciences > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ