On Wed, May 14, 2008 at 10:38:09AM +0530, ext Girish wrote: > > > > > > > >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... > > > > No, the code is writing to 0x00D2 + 0x04 (the t2keypad base address: 0x00D2). Ok, good :-) thanks > > >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 ? > > Well, the timeout is here to help the controller come out of hangs, if any. But is it possible that whenever we release a key we get a timeout? I think something is wrong there. -- - Balbi -- 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