mirror of
https://github.com/frank-w/u-boot.git
synced 2026-01-03 03:32:58 +08:00
At present the cleanup() method is called on every transfer. It should only be called on failing transfers. Fix this and tidy up the error handling a little. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>