Skip to content
Commit ea9733ac authored by qianfan Zhao's avatar qianfan Zhao Committed by Tom Rini
Browse files

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: default avatarqianfan Zhao <qianfanguijin@163.com>
Reviewed-by: default avatarSean Anderson <seanga2@gmail.com>
parent 429866e8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment