diff options
author | Dan O'Donovan <dan@emutex.com> | 2016-05-27 19:57:48 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-05-30 17:09:31 +0100 |
commit | c64e1265ae8516c0282b45e099ac5fbdb8486c4c (patch) | |
tree | 6733715dc8ed889c0a39215ccccb76457b316444 /Documentation/kprobes.txt | |
parent | 1a695a905c18548062509178b98bc91e67510864 (diff) | |
download | op-kernel-dev-c64e1265ae8516c0282b45e099ac5fbdb8486c4c.zip op-kernel-dev-c64e1265ae8516c0282b45e099ac5fbdb8486c4c.tar.gz |
spi: pxa2xx: use DMA by default if supported
Currently, even if the PXA2xx SPI master supports DMA, it won't be
enabled unless (i) the slave device is enumerated through ACPI, or
(ii) the slave device is registered with board-specific
controller_data specified. Even then, there isn't a field in the
controller_data that explicitly enables dma - it just gets enabled
if the master supports it and controller_data is non-NULL.
This means that drivers which register SPI devices on a bus without
awareness of this controller cannot avail of DMA performance gains.
This patch allows DMA transfers to be used if supported.
Signed-off-by: Dan O'Donovan <dan@emutex.com>
Reviewed-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/kprobes.txt')
0 files changed, 0 insertions, 0 deletions