]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
ARM: DRA: hwmod: Correct the dma line names for mmc
authorSricharan R <r.sricharan@ti.com>
Fri, 31 May 2013 14:10:11 +0000 (19:40 +0530)
committerBalaji T K <balajitk@ti.com>
Fri, 31 May 2013 14:10:11 +0000 (19:40 +0530)
The dma request line names are specifed by respective dma request
numbers, instead of the signal functionality name. This is different
from the previous dma_requests naming convention for older socs and
breaks those drivers which uses sdma. Changing this here for mmc.

Should be fixed in the auto gen scripts.

Signed-off-by: Sricharan R <r.sricharan@ti.com>
arch/arm/mach-omap2/omap_hwmod_7xx_data.c

index 1c1376d34f93f8765bb6fcc55d11b02fa3af9763..b648382f25bf124083d1e7f6b0fe6fdf1fec0f18 100644 (file)
@@ -1787,8 +1787,8 @@ static struct omap_hwmod_irq_info dra7xx_mmc1_irqs[] = {
 };
 
 static struct omap_hwmod_dma_info dra7xx_mmc1_sdma_reqs[] = {
-       { .name = "61", .dma_req = 60 + DRA7XX_DMA_REQ_START },
-       { .name = "62", .dma_req = 61 + DRA7XX_DMA_REQ_START },
+       { .name = "tx", .dma_req = 60 + DRA7XX_DMA_REQ_START },
+       { .name = "rx", .dma_req = 61 + DRA7XX_DMA_REQ_START },
        { .dma_req = -1 }
 };
 
@@ -1827,8 +1827,8 @@ static struct omap_hwmod_irq_info dra7xx_mmc2_irqs[] = {
 };
 
 static struct omap_hwmod_dma_info dra7xx_mmc2_sdma_reqs[] = {
-       { .name = "47", .dma_req = 46 + DRA7XX_DMA_REQ_START },
-       { .name = "48", .dma_req = 47 + DRA7XX_DMA_REQ_START },
+       { .name = "tx", .dma_req = 46 + DRA7XX_DMA_REQ_START },
+       { .name = "rx", .dma_req = 47 + DRA7XX_DMA_REQ_START },
        { .dma_req = -1 }
 };