From: Hiep Cao Minh <cm-hiep@xxxxxxxxxxx> Hi Mark Hi Geert This is version 2 of spi-Re-do-the-returning-value-of-rspi_dma_check_then_transfer patch. I have tested it at linux Upstream Linux-4.0.0-10713-g6e24fd1 on Lager and Koelsch. To reduce indentation and complexity of code, drop "ret" then function rspi_dma_check_then_transfer should be returning rspi_dma_transfer directly after checking error. Please consider the following patch for the Rcar-Gen2. Hiep Cao Minh (1): spi: Re-do the returning value of rspi_dma_check_then_transfer drivers/spi/spi-rspi.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html