Some masters may have different DMA burst size than hard coded default. In such case respect the value given by DMA burst size provided via platform data.
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -25,6 +25,7 @@ struct dma_chan; · 24 unmodified lines | ||
| 25 | 25 | struct pxa2xx_spi_controller { |
| 26 | 26 | u16 num_chipselect; |
| 27 | 27 | u8 enable_dma; |
| 28 | + u8 dma_burst_size; | |
| 28 | 29 | bool is_slave; |
| 29 | 30 | |
| 30 | 31 | /* DMA engine specific config */ |