diff options
author | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2019-02-03 16:17:33 +0100 |
---|---|---|
committer | Philipp Tomsich <philipp.tomsich@theobroma-systems.com> | 2019-05-01 00:00:04 +0200 |
commit | 2236149e4985269d432a0c41b3406fe28ce4d560 (patch) | |
tree | 140bcfff7c3fbb7432fdad18c188a6873e99100d /drivers/spi/davinci_spi.c | |
parent | 51a644a1b84272ef49ffc8affe5599ef645a98fe (diff) |
rockchip: spi: make optimised receive-handler unaligned-safe
To support unaligned output buffers (i.e. 'in' in the terminology of
the SPI framework), this change splits each 16bit FIFO element after
reading and writes them to memory in two 8bit transactions. With this
change, we can now always use the optimised mode for receive-only
transcations independent on the alignment of the target buffer.
Given that we'll run with caches on, the impact should be negligible:
as expected, this has no adverse impact on throughput if running with
a 960MHz LPLL configuration.
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Diffstat (limited to 'drivers/spi/davinci_spi.c')
0 files changed, 0 insertions, 0 deletions