Re: [PATCH] usb: ehci: skip companion handoff when no companion exists
From: William A. Kennington III
Date: Mon Nov 16 2026 - 01:44:07 EST
On Sun, Nov 15, 2026 at 07:53:59AM +0100, Michal Pecio wrote:
> That's for Alan to decide, but it seems that whenever you use
> ehci->no_companion, you always add "|| ehci_is_TD(ehci)", and this
> is unlikely to change since HCs with TT don't need companions.
>
> So ehci_is_TDI() together with its associated comment could be
> moved to ehci_has_companion(). Then you no longer need those funny
> comments like "without companion there is no companion" and the
> code becomes somewhat simpler too.
Seems reasonable, let me just send out a v2.