mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-29 07:33:29 +08:00
ddd025bb6e
The wait_until_[rx|tx]ep_ready functions return a u8 to indicate success containing the value 0, 1 or -1. This patch changes the return type to an int to accommodate the negative return values. These functions are used in the file using calls such as if (!wait_until... Where a -1 is returned it is mishandled and treated as success instead of a CRC error. This patch addresses this. Cc: Marek Vasut <marex@denx.de> Cc: Tom Rini <trini@ti.com> Signed-off-by: Andrew Murray <amurray@embedded-bits.co.uk> Acked-by: Marek Vasut <marex@denx.de> |
||
---|---|---|
.. | ||
am35x.c | ||
am35x.h | ||
blackfin_usb.c | ||
blackfin_usb.h | ||
da8xx.c | ||
davinci.c | ||
davinci.h | ||
Makefile | ||
musb_core.c | ||
musb_core.h | ||
musb_debug.h | ||
musb_hcd.c | ||
musb_hcd.h | ||
musb_udc.c | ||
omap3.c | ||
omap3.h |