]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: xpad - use proper endpoint type
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Nov 2014 08:38:17 +0000 (00:38 -0800)
committerJiri Slaby <jslaby@suse.cz>
Sat, 6 Dec 2014 14:18:21 +0000 (15:18 +0100)
commit52c0674a23d9309d07cca0ca50403b304faf83c4
tree17fb9564d6ffaff6ec21fdbc8fab4b40a97f2932
parent2c2bbb8a720934e493feb6dc52dd84bb04e60562
Input: xpad - use proper endpoint type

commit a1f9a4072655843fc03186acbad65990cc05dd2d upstream.

The xpad wireless endpoint is not a bulk endpoint on my devices, but
rather an interrupt one, so the USB core complains when it is submitted.
I'm guessing that the author really did mean that this should be an
interrupt urb, but as there are a zillion different xpad devices out
there, let's cover out bases and handle both bulk and interrupt
endpoints just as easily.

Signed-off-by: "Pierre-Loup A. Griffais" <pgriffais@valvesoftware.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/input/joystick/xpad.c