From: Peter Ujfalusi Date: Thu, 2 Oct 2008 05:28:48 +0000 (+0300) Subject: OMAP2: omap-keypad: interrupt disable fix X-Git-Tag: v2.6.27-omap1~15 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fa07dd88d182f022bf39c1fc5ab3d8b29969a296;p=linux-2.6-omap-h63xx.git OMAP2: omap-keypad: interrupt disable fix The GPIO interrupts has been disabled several times after the first key press. No need to disable - again - the interrupts in the omap_kp_scan_keypad function on OMAP2. Signed-off-by: Peter Ujfalusi Signed-off-by: Tony Lindgren --- diff --git a/drivers/input/keyboard/omap-keypad.c b/drivers/input/keyboard/omap-keypad.c index d57d2cb718f..d6cd79bf1fa 100644 --- a/drivers/input/keyboard/omap-keypad.c +++ b/drivers/input/keyboard/omap-keypad.c @@ -134,10 +134,6 @@ static void omap_kp_scan_keypad(struct omap_kp *omap_kp, unsigned char *state) /* read the keypad status */ if (cpu_is_omap24xx()) { - int i; - for (i = 0; i < omap_kp->rows; i++) - disable_irq(OMAP_GPIO_IRQ(row_gpios[i])); - /* read the keypad status */ for (col = 0; col < omap_kp->cols; col++) { set_col_gpio_val(omap_kp, ~(1 << col));