diff options
author | John Crispin <blogic@openwrt.org> | 2015-08-17 06:04:32 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-08-17 06:04:32 +0000 |
commit | 6789008f7f005b6404309785dbe6f71f4252a1d3 (patch) | |
tree | 894567dfe3a2896bceca2cd1782cff68278c248f /target/linux/brcm2708/patches-4.1/0124-dmaengine-bcm2708-dmaengine-Fix-memory-leak-when-sto.patch | |
parent | 56934112ef047efc00dabfffbd25276e9849427f (diff) | |
download | master-187ad058-6789008f7f005b6404309785dbe6f71f4252a1d3.tar.gz master-187ad058-6789008f7f005b6404309785dbe6f71f4252a1d3.tar.bz2 master-187ad058-6789008f7f005b6404309785dbe6f71f4252a1d3.zip |
brcm2708: update 4.1 patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46640 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm2708/patches-4.1/0124-dmaengine-bcm2708-dmaengine-Fix-memory-leak-when-sto.patch')
-rw-r--r-- | target/linux/brcm2708/patches-4.1/0124-dmaengine-bcm2708-dmaengine-Fix-memory-leak-when-sto.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/brcm2708/patches-4.1/0124-dmaengine-bcm2708-dmaengine-Fix-memory-leak-when-sto.patch b/target/linux/brcm2708/patches-4.1/0124-dmaengine-bcm2708-dmaengine-Fix-memory-leak-when-sto.patch new file mode 100644 index 0000000000..a952b1f570 --- /dev/null +++ b/target/linux/brcm2708/patches-4.1/0124-dmaengine-bcm2708-dmaengine-Fix-memory-leak-when-sto.patch @@ -0,0 +1,20 @@ +From 176730440c132bf74f6f7a7e34b6b9b087e1b55f Mon Sep 17 00:00:00 2001 +From: Robert Tiemann <rtie@gmx.de> +Date: Fri, 17 Jul 2015 09:50:55 +0200 +Subject: [PATCH 124/148] dmaengine: bcm2708-dmaengine: Fix memory leak when + stopping a running transfer + +--- + drivers/dma/bcm2708-dmaengine.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/dma/bcm2708-dmaengine.c ++++ b/drivers/dma/bcm2708-dmaengine.c +@@ -964,6 +964,7 @@ static int bcm2835_dma_terminate_all(str + * c->desc is NULL and exit.) + */ + if (c->desc) { ++ bcm2835_dma_desc_free(&c->desc->vd); + c->desc = NULL; + bcm2835_dma_abort(c->chan_base); + |