projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8df4053
)
arm: common: edma: Save the number of event queues/TCs
author
Peter Ujfalusi
<
[email protected]
>
Mon, 14 Apr 2014 11:41:57 +0000
(14:41 +0300)
committer
Vinod Koul
<
[email protected]
>
Tue, 22 Apr 2014 16:05:13 +0000
(21:35 +0530)
For later use save the number of queues available for the CC.
Signed-off-by: Peter Ujfalusi <
[email protected]
>
Acked-by: Joel Fernandes <
[email protected]
>
Reviewed-and-Tested-by: Joel Fernandes <
[email protected]
>
Signed-off-by: Vinod Koul <
[email protected]
>
arch/arm/common/edma.c
patch
|
blob
|
history
diff --git
a/arch/arm/common/edma.c
b/arch/arm/common/edma.c
index 41bca32409fce81358c3b5c35bc081bcc28e7c76..999266bf69b900df81f29238f7a9e9d3978747a7 100644
(file)
--- a/
arch/arm/common/edma.c
+++ b/
arch/arm/common/edma.c
@@
-1768,6
+1768,9
@@
static int edma_probe(struct platform_device *pdev)
map_queue_tc(j, queue_tc_mapping[i][0],
queue_tc_mapping[i][1]);
+ /* Save the number of TCs */
+ edma_cc[j]->num_tc = i;
+
/* Event queue priority mapping */
for (i = 0; queue_priority_mapping[i][0] != -1; i++)
assign_priority_to_queue(j,