Input: xpad - add custom init packet for Xbox One S controllers
commit95a481e235e5ead2454f24a9252903c39edf315b
authorŁukasz Patron <priv.luk@gmail.com>
Wed, 22 Apr 2020 21:13:09 +0000 (22 14:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jun 2020 06:19:32 +0000 (3 08:19 +0200)
tree083b8beadf35fe702c373be1b0699894c5886dda
parent8bd7f3f811b31cc4df3a581f955c4aa9da27687f
Input: xpad - add custom init packet for Xbox One S controllers

[ Upstream commit 764f7f911bf72450c51eb74cbb262ad9933741d8 ]

Sending [ 0x05, 0x20, 0x00, 0x0f, 0x06 ] packet for Xbox One S controllers
fixes an issue where controller is stuck in Bluetooth mode and not sending
any inputs.

Signed-off-by: Łukasz Patron <priv.luk@gmail.com>
Reviewed-by: Cameron Gutman <aicommander@gmail.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200422075206.18229-1-priv.luk@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/joystick/xpad.c