summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-3.12.70/linux-3.12-spi-atmel-dma-min.patch
diff options
context:
space:
mode:
authorJeff Hatch <jhatch@multitech.com>2020-06-04 14:25:26 -0500
committerJeff Hatch <jhatch@multitech.com>2020-06-04 14:25:26 -0500
commitd69348fc4b22dd5c59be0050f858457cded0e2c2 (patch)
treef46240166ecb9d135ded6fa5d7ac5469e6cfa387 /recipes-kernel/linux/linux-3.12.70/linux-3.12-spi-atmel-dma-min.patch
parent87ba31c96fdfa7ba092d21395aa6489cd85c005c (diff)
parent689f820b990a7c194e5aa971d9b2f0a5d20e4de5 (diff)
downloadmeta-multitech-d69348fc4b22dd5c59be0050f858457cded0e2c2.tar.gz
meta-multitech-d69348fc4b22dd5c59be0050f858457cded0e2c2.tar.bz2
meta-multitech-d69348fc4b22dd5c59be0050f858457cded0e2c2.zip
Merge branch 'test-split'
Pull in changes to move to support Yocto Thud
Diffstat (limited to 'recipes-kernel/linux/linux-3.12.70/linux-3.12-spi-atmel-dma-min.patch')
-rw-r--r--recipes-kernel/linux/linux-3.12.70/linux-3.12-spi-atmel-dma-min.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/recipes-kernel/linux/linux-3.12.70/linux-3.12-spi-atmel-dma-min.patch b/recipes-kernel/linux/linux-3.12.70/linux-3.12-spi-atmel-dma-min.patch
deleted file mode 100644
index 4aba504..0000000
--- a/recipes-kernel/linux/linux-3.12.70/linux-3.12-spi-atmel-dma-min.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Index: linux-3.12.27/drivers/spi/spi-atmel.c
-===================================================================
---- linux-3.12.27.orig/drivers/spi/spi-atmel.c
-+++ linux-3.12.27/drivers/spi/spi-atmel.c
-@@ -187,7 +187,12 @@
- /* use PIO for small transfers, avoiding DMA setup/teardown overhead and
- * cache operations; better heuristics consider wordsize and bitrate.
- */
--#define DMA_MIN_BYTES 16
-+
-+/* MTS: set DMA_MIN_BYTES=0 to use DMA all the time due to Rx buffer issues
-+ * when switching between smaller PIO and larger DMA transfers
-+ * https://lkml.org/lkml/2013/10/21/534
-+ */
-+#define DMA_MIN_BYTES 0
-
- struct atmel_spi_dma {
- struct dma_chan *chan_rx;