Files
erofs-linux/drivers/usb/misc
Johan Hovold 372c931319 USB: yurex: fix control-URB timeout handling
Make sure to always cancel the control URB in write() so that it can be
reused after a timeout or spurious CMD_ACK.

Currently any further write requests after a timeout would fail after
triggering a WARN() in usb_submit_urb() when attempting to submit the
already active URB.

Reported-by: [email protected]
Fixes: 6bc235a2e2 ("USB: add driver for Meywa-Denki & Kayac YUREX")
Cc: stable <[email protected]>     # 2.6.37
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2020-12-28 15:47:06 +01:00
..
2020-09-17 18:52:40 +02:00
…
…
…
…
…
…
…
…
…
…
…
…