summaryrefslogtreecommitdiffstats
path: root/Documentation/ubsan.txt
diff options
context:
space:
mode:
authorDan O'Donovan <dan@emutex.com>2016-05-27 19:57:48 +0100
committerMark Brown <broonie@kernel.org>2016-05-30 17:09:31 +0100
commitc64e1265ae8516c0282b45e099ac5fbdb8486c4c (patch)
tree6733715dc8ed889c0a39215ccccb76457b316444 /Documentation/ubsan.txt
parent1a695a905c18548062509178b98bc91e67510864 (diff)
downloadop-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/ubsan.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud