Skip to content
Commit 7b6fa212 authored by Jonathan Bell's avatar Jonathan Bell Committed by Phil Elwell
Browse files

xhci: correct room_on_ring() for cases where there is a single segment



Don't calculate space based on the number of TRBs in the current segment,
as it's OK to wrap to the start (and flip the cycle state bit).

Signed-off-by: default avatarJonathan Bell <jonathan@raspberrypi.com>
parent 0f6b9a36
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