Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7cf2af90 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Vinod Koul
Browse files

arm: common: edma: Save the number of event queues/TCs



For later use save the number of queues available for the CC.

Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: default avatarJoel Fernandes <joelf@ti.com>
Reviewed-and-Tested-by: default avatarJoel Fernandes <joelf@ti.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 8df4053f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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,