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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Dec 2018 08:48:00 +0000 (09:48 +0100)
commitb92cf90569381bf9a1b8aeaa475d2953a22e0eaa
tree08740dfbf250445b7ff46a9fad119cdfd0f31861
parent30221037921b3d4e659579cb4fa58d938f8364b0
Input: xpad - re-send LED command on present event

[ Upstream commit cae705baa40b2c20de8f9bb79ef4bcc6b2418c7c ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/joystick/xpad.c