[PATCH 3.19.y-ckt 001/102] [3.19-stable only] Revert "dmaengine: pl330: Fix overflow when reporting residue in memcpy"

Kamal Mostafa kamal at canonical.com
Tue Sep 22 17:50:57 UTC 2015


3.19.8-ckt7 -stable review patch.  If anyone has any objections, please let me know.

------------------

From: Kamal Mostafa <kamal at canonical.com>

This reverts commit 3f99e272649b084999266a5049d4faadee378830.

Not suitable for 3.19-stable:
'struct dma_pl330_desc' has no member named 'bytes_requested'

Signed-off-by: Kamal Mostafa <kamal at canonical.com>
---
 drivers/dma/pl330.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c
index c068ef1..bdf40b5 100644
--- a/drivers/dma/pl330.c
+++ b/drivers/dma/pl330.c
@@ -2521,7 +2521,6 @@ pl330_prep_dma_memcpy(struct dma_chan *chan, dma_addr_t dst,
 		desc->rqcfg.brst_len = 1;
 
 	desc->rqcfg.brst_len = get_burst_len(desc, len);
-	desc->bytes_requested = len;
 
 	desc->txd.flags = flags;
 
-- 
1.9.1





More information about the kernel-team mailing list