]> git.baikalelectronics.ru Git - kernel.git/commit
Input: allocate absinfo data when setting ABS capability
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 27 Dec 2013 01:44:29 +0000 (17:44 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 31 Dec 2013 18:53:19 +0000 (10:53 -0800)
commit35ed34423e22885398c051a27a760287b76590f6
tree7d1a45c313cecc0c9cb72ad7aae24271fde9d6ba
parent802741e922ad82568bb5ea0d997bc3fb3df37b5e
Input: allocate absinfo data when setting ABS capability

We need to make sure we allocate absinfo data when we are setting one of
EV_ABS/ABS_XXX capabilities, otherwise we may bomb when we try to emit this
event.

Rested-by: Paul Cercueil <pcercuei@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c