]> git.itanic.dy.fi Git - linux-stable/commit
Input: xpad - add constants for GIP interface numbers
authorVicki Pfau <vi@endrift.com>
Fri, 14 Apr 2023 06:57:42 +0000 (23:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 30 May 2023 11:42:10 +0000 (12:42 +0100)
commitf8975683499d1eb87766c1ef31f83b9b84bd1c81
tree7606da2d160da5c6a31bb8f06ffcf1e07127767f
parent3aa9216df530b3c071ca55a84c0240a158a1a047
Input: xpad - add constants for GIP interface numbers

[ Upstream commit f9b2e603c6216824e34dc9a67205d98ccc9a41ca ]

Wired GIP devices present multiple interfaces with the same USB identification
other than the interface number. This adds constants for differentiating two of
them and uses them where appropriate

Signed-off-by: Vicki Pfau <vi@endrift.com>
Link: https://lore.kernel.org/r/20230411031650.960322-2-vi@endrift.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/joystick/xpad.c