projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e06de4
)
dmaengine: pl330: Drop local dma_parms
author
Robin Murphy
<robin.murphy@arm.com>
Thu, 3 Sep 2020 20:25:53 +0000
(21:25 +0100)
committer
Vinod Koul
<vkoul@kernel.org>
Fri, 11 Sep 2020 12:12:13 +0000
(17:42 +0530)
Since commit
f458488425f1
("amba: Initialize dma_parms for amba
devices"), struct amba_device already provides a dma_parms structure,
so we can save allocating another one.
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Link:
https://lore.kernel.org/r/c9e58882e33f22f9b0a6d65a5507e24004512148.1599164692.git.robin.murphy@arm.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c
patch
|
blob
|
history
diff --git
a/drivers/dma/pl330.c
b/drivers/dma/pl330.c
index
f3e6776
..
4b8e405
100644
(file)
--- a/
drivers/dma/pl330.c
+++ b/
drivers/dma/pl330.c
@@
-460,9
+460,6
@@
struct pl330_dmac {
/* DMA-Engine Device */
struct dma_device ddma;
- /* Holds info about sg limitations */
- struct device_dma_parameters dma_parms;
-
/* Pool of descriptors available for the DMAC's channels */
struct list_head desc_pool;
/* To protect desc_pool manipulation */
@@
-3155,8
+3152,6
@@
pl330_probe(struct amba_device *adev, const struct amba_id *id)
}
}
- adev->dev.dma_parms = &pl330->dma_parms;
-
/*
* This is the limit for transfers with a buswidth of 1, larger
* buswidths will have larger limits.