]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
mxs_spi: Return proper timeout error
authorFabio Estevam <festevam@gmail.com>
Sun, 18 Mar 2012 17:23:35 +0000 (17:23 +0000)
committerStefano Babic <sbabic@denx.de>
Tue, 27 Mar 2012 07:41:16 +0000 (09:41 +0200)
commitd9fb6a4c7e61d735eec2936a8dc3877f83e61d24
tree5a154aff2e8a5fb9b27725008c87c3590a9fda93
parenta89300338a0d0c43ff21c50d793782c310c882ee
mxs_spi: Return proper timeout error

Instead of returning -1, it is preferred to return -ETIMEDOUT in case of timeouts.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Marek Vasut <marex@denx.de>
drivers/spi/mxs_spi.c