]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: xhci: add help function xhci_dequeue_td()
authorNiklas Neronin <niklas.neronin@linux.intel.com>
Wed, 6 Nov 2024 10:14:55 +0000 (12:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Nov 2024 12:26:16 +0000 (13:26 +0100)
commitee8ebec3c8d3a98f5fc0c4ab7793f06ab86eb6df
tree319387e451e19b0aff67fd6acb81a2455a40c6d7
parent7acfea2866acc6c888f880e28a249bc5ce069ad0
usb: xhci: add help function xhci_dequeue_td()

Add xhci_dequeue_td() helper function to reduce code duplication.

Function xhci_dequeue_td() advances the dequeue pointer past the specified
Transfer Descriptor (TD) and releases the TD.

Signed-off-by: Niklas Neronin <niklas.neronin@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20241106101459.775897-30-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c