diff options
| author | Marek Vasut <[email protected]> | 2012-07-09 00:48:33 +0000 |
|---|---|---|
| committer | Albert ARIBAUD <[email protected]> | 2012-09-01 14:58:16 +0200 |
| commit | 7c5e6f7a5ddc1643300ce0be2a2a8283f4a797f7 (patch) | |
| tree | c28aa6ade5a9ad28972de815648f82104796942c /include/linux/string.h | |
| parent | ccd4d5a0d484c929bf78772f0a5f8dfd91e078ab (diff) | |
MX28: SPI: Add DMA transfer support
The DMA transfers happen only if the transfered data are larger
than 512 bytes. Otherwise PIO is used. This is a small speed
optimization.
The DMA transfer doesn't work if unaligned transfer is requested
due to the limitation of the DMA controller. This has to be fixed
by introducing generic bounce buffer. Therefore the DMA feature
is now disabled by default.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: Otavio Salvador <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Diffstat (limited to 'include/linux/string.h')
0 files changed, 0 insertions, 0 deletions
