Input: xpad - re-send LED command on present event
authorPavel Rojtberg <rojtberg@gmail.com>
Mon, 22 Jun 2015 21:11:30 +0000 (14:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Jun 2015 21:24:58 +0000 (14:24 -0700)
commitcae705baa40b2c20de8f9bb79ef4bcc6b2418c7c
tree0fd3f0839f8cf75d1351b260bce94606311b83aa
parent75b7f05d2798ee3a1cc5bbdd54acd0e318a80396
Input: xpad - re-send LED command on present event

The controller only receives commands when its present. So for the
correct LED to be lit the LED command has to be sent on the present
event.

Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c