diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2014-07-08 06:46:36 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-07-28 07:33:09 -0400 |
commit | 85a70762b7c79983888bf4d34c6a6bbcf6b40e7d (patch) | |
tree | cb5ef8b3a339719ca310d127a38580bc14fdc4c3 /arch/arm/common | |
parent | a1f146f31724b649f74185ffc817bbd983eba5e2 (diff) |
ARM: edma: Set default queue to lowest priority
Use the lowest priority queue as default for clients.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'arch/arm/common')
-rw-r--r-- | arch/arm/common/edma.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 485be42519b9..f834aae7720f 100644 --- a/arch/arm/common/edma.c +++ b/arch/arm/common/edma.c | |||
@@ -1470,7 +1470,8 @@ static int edma_setup_from_hw(struct device *dev, struct edma_soc_info *pdata, | |||
1470 | queue_priority_map[i][1] = -1; | 1470 | queue_priority_map[i][1] = -1; |
1471 | 1471 | ||
1472 | pdata->queue_priority_mapping = queue_priority_map; | 1472 | pdata->queue_priority_mapping = queue_priority_map; |
1473 | pdata->default_queue = 0; | 1473 | /* Default queue has the lowest priority */ |
1474 | pdata->default_queue = i - 1; | ||
1474 | 1475 | ||
1475 | return 0; | 1476 | return 0; |
1476 | } | 1477 | } |