Files
linux/drivers/usb/host
Mark Tomlinson 0d2ada0522 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: 2d53139f31 ("Add support for using a MAX3421E chip as a host driver.")
Cc: stable <stable@kernel.org>
Signed-off-by: Mark Tomlinson <mark.tomlinson@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20241124221430.1106080-1-mark.tomlinson@alliedtelesis.co.nz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-12-04 16:25:30 +01:00
..
2024-11-04 01:27:52 +01:00
2022-09-01 16:08:29 +02:00
2024-10-14 08:03:44 +02:00
2023-03-21 14:06:11 +01:00
2024-10-14 08:03:44 +02:00
2024-10-14 08:03:44 +02:00
2023-05-28 15:25:53 +01:00
2024-10-14 08:03:44 +02:00
2024-10-21 08:53:43 +02:00