[U-Boot] [PATCH] mxs_spi: Return proper timeout error

Marek Vasut marek.vasut at gmail.com
Mon Mar 19 04:48:17 CET 2012


Dear Mike Frysinger,

> On Sunday 18 March 2012 23:23:35 Fabio Estevam wrote:
> > Instead of returning -1, it is preferred to return -ETIMEDOUT in case of
> > timeouts.
> 
> the SPI API doesn't care
> -mike

Yep, but returning symbolic value like this is more expressive.

Best regards,
Marek Vasut


More information about the U-Boot mailing list