commit | ea9733ac4c268cc862ec1e414f066f192348ef5a | [log] [tgz] |
---|---|---|
author | qianfan Zhao <qianfanguijin@163.com> | Tue Nov 16 08:30:12 2021 +0800 |
committer | Tom Rini <trini@konsulko.com> | Mon Jan 17 14:45:24 2022 -0500 |
tree | 24da768e89fd2c59c10a8421282159bd9fb92599 | |
parent | 429866e84559f7019f176c6c084392ec8dfd128c [diff] |
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 <qianfanguijin@163.com> Reviewed-by: Sean Anderson <seanga2@gmail.com>