Skip to content
Commit 1e6abe09 authored by Jonathan Bell's avatar Jonathan Bell Committed by popcornmix
Browse files

usb: xhci: hack xhci_urb_enqueue to support hid.mousepoll behaviour



xHCI creates endpoint contexts directly from the device's endpoint
data, so submitting URBs with urb->interval different from the hardware
interval has no effect.

Add an explicit reconfiguration of the endpoint context when requested,
which will happen only when the interval is different from the cached
value. In practice, the reconfiguration only happens on the first URB
submitted for the endpoint.

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.org>
parent 1909f49b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment