The following patchset provides corrections for PIO-mode and support for DMA transfers in sun4i SPI driver.
Sergey Suloev (6): spi: core: handle timeout error from transfer_one() spi: sun4i: restrict transfer length in PIO-mode spi: sun4i: coding style/readability improvements spi: sun4i: use completion provided by SPI core driver spi: sun4i: introduce register set/unset helpers spi: sun4i: add DMA transfers support drivers/spi/spi-sun4i.c | 443 ++++++++++++++++++++++++++++++++++++------------ drivers/spi/spi.c | 5 +- 2 files changed, 341 insertions(+), 107 deletions(-) -- 2.16.2