git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa07dd8
)
OMAP2: omap-keypad: Enable more than 6 rows
author
Peter Ujfalusi
<peter.ujfalusi@nokia.com>
Thu, 2 Oct 2008 05:28:49 +0000
(08:28 +0300)
committer
Tony Lindgren
<tony@atomide.com>
Fri, 17 Oct 2008 22:01:44 +0000
(15:01 -0700)
There is no reason to limit the GPIO rows to 6 for
OMAP2.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/input/keyboard/omap-keypad.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/omap-keypad.c
b/drivers/input/keyboard/omap-keypad.c
index
d6cd79b
..
0f95046
100644
(file)
--- a/
drivers/input/keyboard/omap-keypad.c
+++ b/
drivers/input/keyboard/omap-keypad.c
@@
-137,7
+137,7
@@
static void omap_kp_scan_keypad(struct omap_kp *omap_kp, unsigned char *state)
/* read the keypad status */
for (col = 0; col < omap_kp->cols; col++) {
set_col_gpio_val(omap_kp, ~(1 << col));
- state[col] = ~(get_row_gpio_val(omap_kp)) & 0x
3
f;
+ state[col] = ~(get_row_gpio_val(omap_kp)) & 0x
f
f;
}
set_col_gpio_val(omap_kp, 0);