2015-10-26 09:01:05 +00:00
|
|
|
From e5c8a89d140e14ac6d393fd13b7b63ed1c860799 Mon Sep 17 00:00:00 2001
|
2015-08-17 06:04:32 +00:00
|
|
|
From: Robert Tiemann <rtie@gmx.de>
|
|
|
|
Date: Fri, 17 Jul 2015 09:50:55 +0200
|
2015-10-26 09:01:05 +00:00
|
|
|
Subject: [PATCH 124/203] dmaengine: bcm2708-dmaengine: Fix memory leak when
|
2015-08-17 06:04:32 +00:00
|
|
|
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);
|
|
|
|
|