diff options
author | Angelo Dureghello <angelo.dureghello@timesys.com> | 2020-08-16 12:46:35 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-08-18 19:52:38 +0300 |
commit | b09058bbf5f083e2670186a02f5be05baf1190d7 (patch) | |
tree | 1a2244263e7bf547a2c0cee8354002620877dde8 | |
parent | 2494174e04e7f4e58d1363adb13c0ae23b64d37c (diff) | |
download | linux-b09058bbf5f083e2670186a02f5be05baf1190d7.tar.xz |
spi: spi-fsl-dspi: set ColdFire to DMA mode
Set DMA transfer mode for ColdFire.
After recent fixes to fsl edma engine, this mode can be used
also for ColdFire, and from some raw mtd r/w tests it definitely
improves the transfer rate, so keeping it selected.
Signed-off-by: Angelo Dureghello <angelo.dureghello@timesys.com>
Link: https://lore.kernel.org/r/20200816094635.1830006-1-angelo.dureghello@timesys.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-fsl-dspi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index 91c6affe139c..5b9a285d84a7 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c @@ -189,7 +189,7 @@ static const struct fsl_dspi_devtype_data devtype_data[] = { .fifo_size = 4, }, [MCF5441X] = { - .trans_mode = DSPI_EOQ_MODE, + .trans_mode = DSPI_DMA_MODE, .max_clock_factor = 8, .fifo_size = 16, }, |