diff options
| author | Johan Hovold <[email protected]> | 2020-12-14 11:30:53 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-12-28 15:47:06 +0100 |
| commit | 372c93131998c0622304bed118322d2a04489e63 (patch) | |
| tree | 894a4fd7338228e9f269741120e190bda6b6257f /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | 83a43ff80a566de8718dfc6565545a0080ec1fb5 (diff) | |
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: 6bc235a2e24a ("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]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions