diff options
| author | Andy Shevchenko <[email protected]> | 2019-03-19 17:48:42 +0200 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2019-03-20 17:21:17 +0000 |
| commit | 37821a82e6789eaaa81dd32a67edc3511ebfd5aa (patch) | |
| tree | f6ab2301a07c0f968f08088a94bf131edd65d286 /include/linux/spi | |
| parent | 560ee7e9100916e30e126a53d127ca54745b2a8e (diff) | |
spi: pxa2xx: Introduce DMA burst size support
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.
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Jarkko Nikula <[email protected]>
Reviewed-by: Jarkko Nikula <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'include/linux/spi')
| -rw-r--r-- | include/linux/spi/pxa2xx_spi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/pxa2xx_spi.h b/include/linux/spi/pxa2xx_spi.h index c1c59473cef9..6005f0126631 100644 --- a/include/linux/spi/pxa2xx_spi.h +++ b/include/linux/spi/pxa2xx_spi.h @@ -25,6 +25,7 @@ struct dma_chan; struct pxa2xx_spi_controller { u16 num_chipselect; u8 enable_dma; + u8 dma_burst_size; bool is_slave; /* DMA engine specific config */ |