
3 Oct
2013
3 Oct
'13
5:56 p.m.
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 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
Tom, feel free to pick this up if it's ok on this omap hardware.
Best regards, Marek Vasut