diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 20:14:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-06 20:14:01 -0500 |
commit | db30c70575822cc84d87b5613c19cac24734b99f (patch) | |
tree | 82945ad5813bfe6633698233981d270b5f0a310b /drivers/input/keyboard/omap-keypad.c | |
parent | c861ea2cb2c25c1698734d9b0540a09e253690a1 (diff) | |
parent | 9334e90d5ac5ee1fa6d8b75acb7c64a8907787d1 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input: (29 commits)
Input: i8042 - add Dell Vostro 1510 to nomux list
Input: gtco - use USB endpoint API
Input: add support for Maple controller as a joystick
Input: atkbd - broaden the Dell DMI signatures
Input: HIL drivers - add MODULE_ALIAS()
Input: map_to_7segment.h - convert to __inline__ for userspace
Input: add support for enhanced rotary controller on pxa930 and pxa935
Input: add support for trackball on pxa930 and pxa935
Input: add da9034 touchscreen support
Input: ads7846 - strict_strtoul takes unsigned long
Input: make some variables and functions static
Input: add tsc2007 based touchscreen driver
Input: psmouse - add module parameters to control OLPC touchpad delays
Input: i8042 - add Gigabyte M912 netbook to noloop exception table
Input: atkbd - Samsung NC10 key repeat fix
Input: atkbd - add keyboard quirk for HP Pavilion ZV6100 laptop
Input: libps2 - handle 0xfc responses from devices
Input: add support for Wacom W8001 penabled serial touchscreen
Input: synaptics - report multi-taps only if supported by the device
Input: add joystick driver for Walkera WK-0701 RC transmitter
...
Diffstat (limited to 'drivers/input/keyboard/omap-keypad.c')
-rw-r--r-- | drivers/input/keyboard/omap-keypad.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c index db22fd9b4cf2..3f3d1198cdb1 100644 --- a/drivers/input/keyboard/omap-keypad.c +++ b/drivers/input/keyboard/omap-keypad.c | |||
@@ -122,14 +122,10 @@ static void omap_kp_scan_keypad(struct omap_kp *omap_kp, unsigned char *state) | |||
122 | 122 | ||
123 | /* read the keypad status */ | 123 | /* read the keypad status */ |
124 | if (cpu_is_omap24xx()) { | 124 | if (cpu_is_omap24xx()) { |
125 | int i; | ||
126 | for (i = 0; i < omap_kp->rows; i++) | ||
127 | disable_irq(OMAP_GPIO_IRQ(row_gpios[i])); | ||
128 | |||
129 | /* read the keypad status */ | 125 | /* read the keypad status */ |
130 | for (col = 0; col < omap_kp->cols; col++) { | 126 | for (col = 0; col < omap_kp->cols; col++) { |
131 | set_col_gpio_val(omap_kp, ~(1 << col)); | 127 | set_col_gpio_val(omap_kp, ~(1 << col)); |
132 | state[col] = ~(get_row_gpio_val(omap_kp)) & 0x3f; | 128 | state[col] = ~(get_row_gpio_val(omap_kp)) & 0xff; |
133 | } | 129 | } |
134 | set_col_gpio_val(omap_kp, 0); | 130 | set_col_gpio_val(omap_kp, 0); |
135 | 131 | ||