projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1f146f
)
ARM: edma: Set default queue to lowest priority
author
Peter Ujfalusi
<peter.ujfalusi@ti.com>
Tue, 8 Jul 2014 10:46:36 +0000
(13:46 +0300)
committer
Vinod Koul
<vinod.koul@intel.com>
Mon, 28 Jul 2014 11:33:09 +0000
(17:03 +0530)
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>
arch/arm/common/edma.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/common/edma.c
b/arch/arm/common/edma.c
index 485be42519b96ddec1dcceafd19c84431e45cd99..f834aae7720fd958081ff01a3a36d3471eb5a111 100644
(file)
--- 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,
queue_priority_map[i][1] = -1;
pdata->queue_priority_mapping = queue_priority_map;
- pdata->default_queue = 0;
+ /* Default queue has the lowest priority */
+ pdata->default_queue = i - 1;
return 0;
}