]> Git Repo - J-u-boot.git/commit
drivers: musb_gadget: Save endpoint desc to usb_ep->desc
authorqianfan Zhao <[email protected]>
Tue, 16 Nov 2021 00:30:12 +0000 (08:30 +0800)
committerTom Rini <[email protected]>
Mon, 17 Jan 2022 19:45:24 +0000 (14:45 -0500)
commitea9733ac4c268cc862ec1e414f066f192348ef5a
tree24da768e89fd2c59c10a8421282159bd9fb92599
parent429866e84559f7019f176c6c084392ec8dfd128c
drivers: musb_gadget: Save endpoint desc to usb_ep->desc

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 <[email protected]>
Reviewed-by: Sean Anderson <[email protected]>
drivers/usb/musb-new/musb_gadget.c
This page took 0.031785 seconds and 4 git commands to generate.