On Tue, 13 May 2008 16:54:17 +0300, Felipe Balbi <felipe.balbi@xxxxxxxxx> wrote: > Hi all, > > I noted whenever we release a key in omap-twl4030.c driver it generates > two interrupts: one for release event and one for a timeout event. > > Is that expected or is that a bug somewhere in the driver ? > > It's easily noted by cat /proc/interrupts ;-) Replying to myself as I found some more clues. By checking the code I could see that only rising edge of timeout interrupt is being enabled. Also timeout register is at 0xd6, but code is writing 0x04... So if i read it correctly, we might have 0 set as our timeout. which might explain why we only see the timeout interrupt when releasing the key. Am I right ? I might be completely wrong here, but that extra interrupt happening all the time is just bugging me :-p -- Best Regards, Felipe Balbi http://felipebalbi.com me@xxxxxxxxxxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html