]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
usb: core: support eUSB2 double bandwidth large isoc URB frames
authorRai, Amardeep <amardeep.rai@intel.com>
Wed, 20 Aug 2025 14:38:23 +0000 (17:38 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:25:05 +0000 (15:25 +0200)
commit0666a012d25051d6d2b4e6b2c893e2f074b87d91
tree3934b0d8eba30b5268ae37cda04b72ab9181b670
parent0c670dc882d31f0423f18899c0e594547b55b76d
usb: core: support eUSB2 double bandwidth large isoc URB frames

eUSB2 double isochronous in bandwidth devices support up to 6 transactions
per microframe, and thus doubles the total bytes possible to receive per
microframe.

Support larger URB isoc frame sizes for eUSB2 double isoc in endpoints.

Also usb_endpoint_maxp() returns a natural number so there's no need to
assume it could be < 0.

Signed-off-by: Rai, Amardeep <amardeep.rai@intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Co-developed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
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-9-sakari.ailus@linux.intel.com
drivers/usb/core/urb.c
drivers/usb/core/usb.c