HID: xinmo: fix for out of range for THT 2P arcade controller.
authorPeter Stein <peter@stuntstein.dk>
Fri, 17 Feb 2017 08:00:50 +0000 (00:00 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Dec 2017 13:20:07 +0000 (14:20 +0100)
commitde34e1a4d3e1f9b8a2cb8ae6aa0c19d43016bec3
treee7a0606fb643cef873d0b2a01e48143332dc63e6
parenta21b0e491956e34b61d14503ae8edf989a343741
HID: xinmo: fix for out of range for THT 2P arcade controller.

[ Upstream commit 9257821c5a1dc57ef3a37f7cbcebaf548395c964 ]

There is a new clone of the XIN MO arcade controller which has same issue with
out of range like the original.  This fix will solve the issue where 2
directions on the joystick are not recognized by the new THT 2P arcade
controller with device ID 0x75e1.  In details the new device ID is added the
hid-id list and the hid-xinmo source code.

Signed-off-by: Peter Stein <peter@stuntstein.dk>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-xinmo.c