diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 10:42:23 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 10:42:23 +0000 |
commit | 4224b52c3acc7203e7c2535d6806f30432dae5e3 (patch) | |
tree | 7a847d3e84dfc3608555587c3b9958474fc17d72 /target/linux/brcm2708/patches-4.4/0023-bcm2835-dma-Fix-dreq-not-set-for-slave-transfers.patch | |
parent | cad399c87b7739c4b8eeb4119706860818f7d84f (diff) | |
download | mtk-20170518-4224b52c3acc7203e7c2535d6806f30432dae5e3.zip mtk-20170518-4224b52c3acc7203e7c2535d6806f30432dae5e3.tar.gz mtk-20170518-4224b52c3acc7203e7c2535d6806f30432dae5e3.tar.bz2 |
brcm2708: add linux 4.4 support
- random-bcm2708 and spi-bcm2708 have been removed.
- sound-soc-bcm2708-i2s has been upstreamed as sound-soc-bcm2835-i2s.
Let's keep linux 4.1 for a while, since linux 4.4 appears to have some issues
with multicast traffic on RPi ethernet:
https://gist.github.com/Noltari/5b1cfdecce5ed4bc08fd
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 48266
Diffstat (limited to 'target/linux/brcm2708/patches-4.4/0023-bcm2835-dma-Fix-dreq-not-set-for-slave-transfers.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.4/0023-bcm2835-dma-Fix-dreq-not-set-for-slave-transfers.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.4/0023-bcm2835-dma-Fix-dreq-not-set-for-slave-transfers.patch b/target/linux/brcm2708/patches-4.4/0023-bcm2835-dma-Fix-dreq-not-set-for-slave-transfers.patch new file mode 100644 index 0000000..42cf9fd --- /dev/null +++ b/target/linux/brcm2708/patches-4.4/0023-bcm2835-dma-Fix-dreq-not-set-for-slave-transfers.patch @@ -0,0 +1,21 @@ +From 50eef5c715b894683aebf81332c82426dc10f8cb Mon Sep 17 00:00:00 2001 +From: Matthias Reichl <hias@horus.com> +Date: Sat, 10 Oct 2015 12:29:18 +0200 +Subject: [PATCH 023/127] bcm2835-dma: Fix dreq not set for slave transfers + +Set dreq to slave_id if it is not set like in bcm2708-dmaengine. +--- + drivers/dma/bcm2835-dma.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/drivers/dma/bcm2835-dma.c ++++ b/drivers/dma/bcm2835-dma.c +@@ -657,6 +657,8 @@ static int bcm2835_dma_slave_config(stru + } + + c->cfg = *cfg; ++ if (!c->dreq) ++ c->dreq = cfg->slave_id; + + return 0; + } |