|
@@ -125,7 +125,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)) & 0x3f;
|
|
|
+ state[col] = ~(get_row_gpio_val(omap_kp)) & 0xff;
|
|
|
}
|
|
|
set_col_gpio_val(omap_kp, 0);
|
|
|
|