]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: xhci: Use usb_endpoint_max_periodic_payload()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Wed, 20 Aug 2025 14:38:20 +0000 (17:38 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:25:05 +0000 (15:25 +0200)
commit24b8762e05ed8203dc0b76b62c802aadd487e9aa
treee04ff4d30c5e1b6bca6a43b0efb5bde2630bcd04
parent20f988320d2718ef28b1f0635acc88c12a216d29
usb: xhci: Use usb_endpoint_max_periodic_payload()

Use the newly added usb_endpoint_max_periodic_payload() to obtain the
maximum number of bytes to transfer during a service interval for
isochronous and interrupt endpoints. This will replace the xhci-specific
xhci_get_max_esit_payload() which is removed as redundant.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250820143824.551777-6-sakari.ailus@linux.intel.com
drivers/usb/host/xhci-mem.c