Input: xpad - add support for Xbox1 PDP Camo series gamepad
authorRamses Ramírez <ramzeto@gmail.com>
Fri, 28 Sep 2018 23:59:26 +0000 (16:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Oct 2018 07:18:19 +0000 (09:18 +0200)
commitca45da09bc32fd1241fde1fa1e3b30dde48823e1
treeefa69a41414ed9a3a18354132de1d2432077e7b9
parentd8408e8fc72078248b2cb87043217b46fcf56147
Input: xpad - add support for Xbox1 PDP Camo series gamepad

commit 9735082a7cbae572c2eabdc45acecc8c9fa0759b upstream.

The "Xbox One PDP Wired Controller - Camo series" has a different
product-id than the regular PDP controller and the PDP stealth series,
but it uses the same initialization sequence. This patch adds the
product-id of the camo series to the structures that handle the other
PDP Xbox One controllers.

Signed-off-by: Ramses Ramírez <ramzeto@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/joystick/xpad.c