OrangePi_CM5/drivers/usb/misc
Johan Hovold b98a0380bc USB: trancevibrator: fix control-request direction
commit 746e4acf87bcacf1406e05ef24a0b7139147c63e 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
Kconfig
…
Makefile
…
adutux.c USB: adutux: fix debugging 2020-09-17 18:52:40 +02:00
apple-mfi-fastcharge.c USB: apple-mfi-fastcharge: fix reference leak in apple_mfi_fc_set_property 2020-11-06 12:06:58 +01:00
appledisplay.c usb: appledisplay: use module_usb_driver to simplify the code 2020-09-22 10:37:19 +02:00
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
…
ldusb.c
…
legousbtower.c USB: legotower: fix logical error in recent commit 2020-12-21 13:30:06 +01:00
lvstest.c
…
trancevibrator.c USB: trancevibrator: fix control-request direction 2021-06-03 09:00:34 +02:00
usb251xb.c
…
usb3503.c usb/misc: usb3503: Use pm_ptr() macro 2020-09-04 16:53:57 +02:00
usb4604.c
…
usb_u132.h
…
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