| commit | 1b01494b82bf4f46821dd4dda2bb35aa43415eeb | [log] [tgz] |
|---|---|---|
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Thu Dec 26 17:44:29 2013 -0800 |
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Jan 08 09:42:12 2014 -0800 |
| tree | 667104c904b53911d6e7e63e5d8066aa9d902795 | |
| parent | 2efb73fb4f0f5081ba6450e789b52f70247c80d9 [diff] |
Input: allocate absinfo data when setting ABS capability commit 28a2a2e1aedbe2d8b2301e6e0e4e63f6e4177aca upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>