]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Input: tc3589x-keypad - fix keymap size
authorRabin Vincent <rabin.vincent@stericsson.com>
Sun, 10 Mar 2013 00:17:20 +0000 (16:17 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 11 Mar 2013 01:32:51 +0000 (18:32 -0700)
commit39735019716e93914a366ac1fb2e78f91b170545
treede6d64af3c260885b4a42e24bb39121ba3f522a2
parent586948372189d33ceca9d89fb0c791ef4d53d8ad
Input: tc3589x-keypad - fix keymap size

The keymap size used by tc3589x is too low, leading to the driver
overwriting other people's memory.  Fix this by making the driver
use the automatically allocated keymap provided by
matrix_keypad_build_keymap() instead of allocating one on its own.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/tc3589x-keypad.c