Re: [PATCH] usb: xhci: Remove skip_isoc_td()

From: Mathias Nyman

Date: Mon Jun 01 2026 - 07:09:40 EST


On 5/29/26 12:10, Michal Pecio wrote:
This function is pointless because usb_submit_urb() initializes all
isoc frame descriptors to -EXDEV and 0 length so that HCDs don't need
to do anything with transfers which were never executed.

Other HCDs rely on this (e.g. EHCI itd_complete()), so we can too.
This gets rid of a potentially dangereous function which could corrupt
memory if we weren't super careful to only call it on isoc URBs.

Also, set status to 0 rather than any random status determined by the
later TD which caused skipping. This status will be ignored anyway.


Thanks

Adding this as well

-Mathas