diff options
author | Mark Tomlinson <[email protected]> | 2024-11-25 11:14:30 +1300 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2024-12-04 16:25:30 +0100 |
commit | 0d2ada05227881f3d0722ca2364e3f7a860a301f (patch) | |
tree | d74965e6d93deff241bd1120af8aa45a7d73d3b9 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 282615d1334494063ff8dc70f35168d3f6b9c4c9 (diff) |
usb: host: max3421-hcd: Correctly abort a USB request.
If the current USB request was aborted, the spi thread would not respond
to any further requests. This is because the "curr_urb" pointer would
not become NULL, so no further requests would be taken off the queue.
The solution here is to set the "urb_done" flag, as this will cause the
correct handling of the URB. Also clear interrupts that should only be
expected if an URB is in progress.
Fixes: 2d53139f3162 ("Add support for using a MAX3421E chip as a host driver.")
Cc: stable <[email protected]>
Signed-off-by: Mark Tomlinson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions