linux/drivers/usb/misc
Johan Hovold b98a0380bc USB: trancevibrator: fix control-request direction
commit 746e4acf87 upstream.

The direction of the pipe argument must match the request-type direction
bit or control requests may fail depending on the host-controller-driver
implementation.

Fix the set-speed request which erroneously used USB_DIR_IN and update
the default timeout argument to match (same value).

Fixes: 5638e4d92e ("USB: add PlayStation 2 Trance Vibrator driver")
Cc: stable@vger.kernel.org      # 2.6.19
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210521133109.17396-1-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-03 09:00:34 +02:00
..
sisusbvga USB: sisusbvga: Make console support depend on BROKEN 2020-12-21 13:30:08 +01:00
adutux.c
apple-mfi-fastcharge.c
appledisplay.c
chaoskey.c
cypress_cy7c63.c
cytherm.c
ehset.c
emi26.c
emi62.c
ezusb.c
ftdi-elan.c
idmouse.c
iowarrior.c
isight_firmware.c
Kconfig
ldusb.c
legousbtower.c USB: legotower: fix logical error in recent commit 2020-12-21 13:30:06 +01:00
lvstest.c
Makefile
trancevibrator.c USB: trancevibrator: fix control-request direction 2021-06-03 09:00:34 +02:00
usb_u132.h
usb251xb.c
usb3503.c
usb4604.c
usblcd.c
usbsevseg.c
usbtest.c
uss720.c misc/uss720: fix memory leak in uss720_probe 2021-06-03 09:00:32 +02:00
yurex.c USB: yurex: fix control-URB timeout handling 2021-01-12 20:18:20 +01:00