spi: imx: add error checking
This makes it possible that the xchg_single callbacks return an error code that
is then passed to the caller of spi_transfer. There is no change in behaviour
intended as up to now the callbacks always return 0.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
1 parent dd2e8be commit 17dbda0c31093008e68f7a39c9cf9e41eab3cd1e
@Uwe Kleine-König Uwe Kleine-König authored on 2 Aug 2017
Lucas Stach committed on 15 Aug 2017
Showing 1 changed file
View
drivers/spi/imx_spi.c