If a default queue is not set for a channel controller, EVENTQ_1 is
used. The second channel controller has only one event queue, and so,
EVENTQ_1 is an invalid option.

Fix this by explicitly setting the default queue for CC1 to be EVENTQ_0.

Signed-off-by: Ido Yariv <i...@wizery.com>
---
 arch/arm/mach-davinci/devices-da8xx.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-davinci/devices-da8xx.c 
b/arch/arm/mach-davinci/devices-da8xx.c
index fc4e98e..74114c0 100644
--- a/arch/arm/mach-davinci/devices-da8xx.c
+++ b/arch/arm/mach-davinci/devices-da8xx.c
@@ -139,6 +139,8 @@ static struct edma_soc_info *da830_edma_info[EDMA_MAX_CC] = 
{
        &da830_edma_cc0_info,
 };
 
+static enum dma_event_q da850_edma_cc1_default_queue = EVENTQ_0;
+
 static struct edma_soc_info da850_edma_cc_info[] = {
        {
                .n_channel              = 32,
@@ -157,6 +159,7 @@ static struct edma_soc_info da850_edma_cc_info[] = {
                .n_cc                   = 1,
                .queue_tc_mapping       = da850_queue_tc_mapping,
                .queue_priority_mapping = da850_queue_priority_mapping,
+               .default_queue_ptr      = &da850_edma_cc1_default_queue,
        },
 };
 
-- 
1.7.4.1

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to