[PATCH] driver: gadget: fastboot: Link endpoint and descriptors

Sean Anderson seanga2 at gmail.com
Wed Nov 3 17:53:32 CET 2021


On 9/16/21 3:02 AM, qianfanguijin at 163.com wrote:
> From: qianfan Zhao <qianfanguijin at 163.com>
> 
> If the downloading file size is equal to the partition size, "fastboot
> flash" can't work, at least in sunxi platform, because used an
> uninitalized point: ep->desc.

Hm, I think that usb_ep_ops->enable needs to set ep->desc = desc on success.

Of the existing drivers, only musb-new and mtu3 skip this.

--Sean


More information about the U-Boot mailing list