Input: xpad - fix stuck mode button on Xbox One S pad
authorCameron Gutman <aicommander@gmail.com>
Mon, 6 Feb 2017 21:56:10 +0000 (13:56 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Dec 2018 08:48:03 +0000 (09:48 +0100)
commitd91bbfcc4ecd09e8d36eec374031996953e2e8f5
tree505450d0db6928785d55c57a82f7b9fb7cbb1b16
parent237ff9b10cae00467e488e4b4055677b16ca7be8
Input: xpad - fix stuck mode button on Xbox One S pad

[ Upstream commit 57b8443d3e5bd046a519ff714ca31c64c7f04309 ]

The Xbox One S requires an ack to its mode button report, otherwise it
continuously retransmits the report. This makes the mode button appear to
be stuck down after it is pressed for the first time.

Signed-off-by: Cameron Gutman <aicommander@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/joystick/xpad.c