Dear Andrew Murray, > 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 <ma...@denx.de> > Cc: Tom Rini <tr...@ti.com> > Signed-off-by: Andrew Murray <amur...@embedded-bits.co.uk>
Acked-by: Marek Vasut <ma...@denx.de> Tom, feel free to pick this up if it's ok on this omap hardware. Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot