]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit - include/linux/spi/tsc2301.h
tsc2301 - correct the handling of the keyb_int interrupt
authorKlaus Pedersen <klaus.k.pedersen@nokia.com>
Fri, 15 Feb 2008 21:31:41 +0000 (23:31 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Feb 2008 00:20:26 +0000 (16:20 -0800)
commitc20fa018d0da78b65b85c4ad6db2f1be34a8066c
tree69af98719db163465c906318f27c0cb0b7429bde
parent0e16e719aeb22960dd0fb396d97c76d6cc87136d
tsc2301 - correct the handling of the keyb_int interrupt

This patch fixes the "geiger" sound that was generated when
touching the touchscreen and pressing a key at the same time.

The error was the use of the keyb_int interrupt line as a
shortcut to see if any keys were pressed, that doesn't work.

With the tsc2301 it is essential that the keypad status is read
soon after the interrupt arrive - otherwise you will occasionally
read the keyboard status while the keys are still being de-bounced
(nothing).

Signed-off-by: Klaus Pedersen <klaus.k.pedersen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-n800.c
drivers/input/keyboard/tsc2301_kp.c
include/linux/spi/tsc2301.h