summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/key_matrix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/input/key_matrix.c b/drivers/input/key_matrix.c
index 287bf0dcc9..946a186a1f 100644
--- a/drivers/input/key_matrix.c
+++ b/drivers/input/key_matrix.c
@@ -145,6 +145,8 @@ static uchar *create_keymap(struct key_matrix *config, u32 *data, int len,
key_code = tmp & 0xffff;
entry = row * config->num_cols + col;
map[entry] = key_code;
+ debug(" map %d, %d: pos=%d, keycode=%d\n", row, col,
+ entry, key_code);
if (pos && map_keycode == key_code)
*pos = entry;
}
OpenPOWER on IntegriCloud