[PATCH v2 6/6] spi: sun4i: add DMA transfers support

2018-04-03 Thread Sergey Suloev
DMA transfers are now available for sun4i-family SoCs. The DMA mode is used automatically as soon as requested transfer length is more than FIFO length. Changes in v2: 1) Debug log enhancements. Signed-off-by: Sergey Suloev --- drivers/spi/spi-sun4i.c | 299

[PATCH v2 6/6] spi: sun4i: add DMA transfers support

2018-04-03 Thread Sergey Suloev
DMA transfers are now available for sun4i-family SoCs. The DMA mode is used automatically as soon as requested transfer length is more than FIFO length. Changes in v2: 1) Debug log enhancements. Signed-off-by: Sergey Suloev --- drivers/spi/spi-sun4i.c | 299