[PATCH] drivers: musb_gadget: Save endpoint desc to usb_ep->desc

Tom Rini trini at konsulko.com
Tue Jan 18 18:39:11 CET 2022


On Tue, Nov 16, 2021 at 08:30:12AM +0800, qianfanguijin at qq.com wrote:

> From: qianfan Zhao <qianfanguijin at 163.com>
> 
> Fix fastboot flash bug.
> 
> 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.
> 
> This patch also fixed 'data abort' bug in am335x platform.
> 
> Reproduce: fastboot flash loader1 spl/sunxi-spl.bin.
> 
> Signed-off-by: qianfan Zhao <qianfanguijin at 163.com>
> Reviewed-by: Sean Anderson <seanga2 at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220118/ac42ff28/attachment.sig>


More information about the U-Boot mailing list