Skip to content

usb: wBytesPerInterval workaround and cleanups

Michal Pecio linux-usb lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v3 Latest3 patches 0 repliesNew

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3usb: core: Fix SuperSpeed root hub wMaxPacketSizedrivers/usb/core/hcd.c+1 -30 replies
2/3usb: core: Fix up Interrupt IN endpoints with bogus wBytesPerIntervaldrivers/usb/core/config.c+8 -10 replies
3/3usb: core: Clean up SuperSpeed/eUSB2 descriptor validation loggingdrivers/usb/core/config.c+11 -260 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchTao Xue
1/3
2/3Reported-and-tested-by
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] usb: wBytesPerInterval workaround and cleanups

This series provides a workaround for certain devices with bogus wBytesPerInterval field in interrupt endpoint descriptors and enables them to work on the latest pedantic xHCI controllers.

It also fixes USB3 root hub descriptors and improves error logging.

new in v3:
all: add cover letter
rebase on 7.1 to fix context conflicts
1/1: reduce wMaxPacketSize instead of raising wBytesPerInterval,
as pointed out by Mathias Nyman

new in v2:
2/3: added reporter's tested-by
use usb_endpoint_is_int_in() as suggested by Alan
3/3: new patch

Michal Pecio (3):
usb: core: Fix SuperSpeed root hub wMaxPacketSize
usb: core: Fix up Interrupt IN endpoints with bogus wBytesPerInterval
usb: core: Clean up SuperSpeed/eUSB2 descriptor validation logging

 drivers/usb/core/config.c | 46 ++++++++++++++++-----------------------
 drivers/usb/core/hcd.c    |  4 +---
 2 files changed, 20 insertions(+), 30 deletions(-)
Signature · 1 line
2.48.1