Re: [PATCH] Input: tc3589x-keypad - fix keymap size
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2013-03-10 00:23:04
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2013-03-10 00:23:04
On Fri, Mar 08, 2013 at 03:26:43PM +0100, Rabin Vincent wrote:
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 <redacted>
Applied, thank you Rabin. Do you think you could prepare a patch against stable as older kernels should have the same issue but matrix_keypad_build_keymap does not allocate keymap there? Thanks! -- Dmitry