All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm, da8xx, mmc: set second MMC controllers default queue
@ 2011-12-04  9:33 ` Heiko Schocher
  0 siblings, 0 replies; 15+ messages in thread
From: Heiko Schocher @ 2011-12-04  9:33 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Heiko Schocher, juha.kuikka, linux-mmc, davinci-linux-open-source,
	Rajashekhara, Sudhakar, Ido Yariv, Sekhar Nori, Wolfgang Denk

The MMC driver allocates channels with EVENTQ_DEFAULT they
get put into EVENTQ_1 which the second EDMA controller does
not have and hence transfers stall. This is tried to fix
in commit f23fe857bbea393b4b94fe2218c98d934bd3d4cf
from Ido Yariv, but missed a fix for the second MMC
controller on da850.

Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: juha.kuikka@gmail.com
Reported-by: juha.kuikka@gmail.com
Cc: linux-mmc@vger.kernel.org
Cc: davinci-linux-open-source@linux.davincidsp.com
Cc: Rajashekhara, Sudhakar <sudhakar.raj@ti.com>
Cc: Ido Yariv <ido@wizery.com>
Cc: Sekhar Nori <nsekhar@ti.com>
Cc: Wolfgang Denk <wd@denx.de>
---
 arch/arm/mach-davinci/dma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-davinci/dma.c b/arch/arm/mach-davinci/dma.c
index da90103..e10a251 100644
--- a/arch/arm/mach-davinci/dma.c
+++ b/arch/arm/mach-davinci/dma.c
@@ -1513,7 +1513,7 @@ static int __init edma_probe(struct platform_device *pdev)
 		 * started by the codec engine will not cause audio defects.
 		 */
 		for (i = 0; i < edma_cc[j]->num_channels; i++)
-			map_dmach_queue(j, i, EVENTQ_1);
+			map_dmach_queue(j, i, info[j]->default_queue);
 
 		queue_tc_mapping = info[j]->queue_tc_mapping;
 		queue_priority_mapping = info[j]->queue_priority_mapping;
-- 
1.7.6.4


^ permalink raw reply related	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-01-12  9:19 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-04  9:33 [PATCH] arm, da8xx, mmc: set second MMC controllers default queue Heiko Schocher
2011-12-04  9:33 ` Heiko Schocher
2011-12-04 12:15 ` Sergei Shtylyov
2011-12-04 12:15   ` Sergei Shtylyov
2011-12-04 13:25 ` Rajashekhara, Sudhakar
2011-12-04 13:25   ` Rajashekhara, Sudhakar
2011-12-05 10:46   ` Heiko Schocher
2011-12-05 10:46     ` Heiko Schocher
2011-12-06 19:09     ` Nori, Sekhar
2011-12-06 19:09       ` Nori, Sekhar
2011-12-06 19:15       ` Hernandez, Alejandro
2011-12-06 19:15         ` Hernandez, Alejandro
2011-12-08  6:55 ` [PATCH v2] " Heiko Schocher
2012-01-11  8:28   ` Heiko Schocher
2012-01-12  9:19     ` Nori, Sekhar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.