On Fri, Sep 04, 2026, Marek Vasut wrote:
> On 9/4/26 4:29 AM, Thinh Nguyen wrote:
>
> Hello Thinh,
>
> > @@ -2709,6 +2712,27 @@ static int fsg_bind(struct usb_configuration *c,
> > struct usb_function *f)
> > return -ENOMEM;
> > }
> > }
> > +
> > + if (gadget_is_superspeed(gadget)) {
>
> Nitpick -- you could invert the conditional here and reduce indent:
>
> if (!gadget_is_superspeed(gadget))
> return 0;
>
> ...
>
But wouldn't that deviate further from the original Linux
change? See:
4bb99b7c82ba ("usb: gadget: storage: add superspeed support")
BR,
Thinh