]> git.baikalelectronics.ru Git - kernel.git/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:44:04 +0000 (12:44 +0100)
commit36871fb08c0ee138c4cd5cef5c3502bc921f8c7a
treece53d4885a90fa1fa593a6d04cb239b68c922473
parentc2a3a883ff9ffb9dd38cb404324e19035d10f4f7
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