]> 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:38:36 +0000 (12:38 +0100)
commitec8f45ed3251674af1fe4512a72e860bb2ed24b8
treecf23c5ff201931a0a0672a32640a7189473739f1
parent31f86370906ae8a2e9fe4c62dc93fa5164404d5a
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