RE: [RFC] [PATCH 1/3] OMAP4: Keyboard Controller Support

Arce, Abraham
2010-05-12T06:20:49Z

> > Sorry for jumping into the comments late. Thought this was sorted out. Key
> scanning
> > and debounce timeouts etc still there. Having all these things in ISR itself
> isn't good
> > idea.
> >
> > Dmitry,
> > Don't you think its optimal to push the key-scanning and debounce timeout
> code
> > part of bottom half ??
> >
>
> If you need debounce then you need to fire a timer and keep doing this
> until interrupt (or key state) settles. It really depends on the device.

Controller includes a debouncing feature...