diff mbox

[2/2] Davinci-EDMA: Use default event queue numbers from platform data to initialize channels.

Message ID C681C76E0D5F1E4BB01DE79E0A80EEC702522715@usrdes03.ebgroup.elektrobit.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Juha.Kuikka@elektrobit.com June 3, 2010, 5:27 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/dma.c b/arch/arm/mach-davinci/dma.c
index d33827a..24bf27c 100644
--- a/arch/arm/mach-davinci/dma.c
+++ b/arch/arm/mach-davinci/dma.c
@@ -1433,8 +1433,6 @@  static int __init edma_probe(struct
platform_device *pdev)
                edma_cc[j]->num_cc = min_t(unsigned, info[j].n_cc,
EDMA_MAX_CC);

                edma_cc[j]->default_queue = info[j].default_queue;
-               if (!edma_cc[j]->default_queue)
-                       edma_cc[j]->default_queue = EVENTQ_1;