]> git.baikalelectronics.ru Git - kernel.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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 25 Nov 2014 08:42:19 +0000 (00:42 -0800)
commit12903e2102d75b616c460f291696786b3c8fd8f5
treed0f7a1d8f41a716287be84fc6dac695c104e4200
parent52fcd2994ad5fc1ec76b4bea12b3d19eaaf87d38
Input: xpad - use proper endpoint type

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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c