In current shape the driver relies on both TX and RX transfers when DMA is enabled. In case of simplex transfer the driver will stuck, since call back function will never achieve the proper condition to finish the transfer. This patchset fixes the potential issue. Andy Shevchenko (2): spi: dw-mid: refactor to use helpers spi: dw-mid: split rx and tx callbacks when DMA drivers/spi/spi-dw-mid.c | 114 ++++++++++++++++++++++++++++++++++------------- drivers/spi/spi-dw.h | 2 +- 2 files changed, 84 insertions(+), 32 deletions(-) -- 2.1.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