Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: davinci: Add dma_mask to eDMA devices

The upcoming change to merge the arch/arm/common/edma.c into
drivers/dma/edma.c will need this change when booting daVinci devices in
no DT mode.

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>

authored by

Peter Ujfalusi and committed by
Vinod Koul
cef5b0da 7ab388e8

+5
+2
arch/arm/mach-davinci/devices-da8xx.c
··· 216 216 static const struct platform_device_info da8xx_edma0_device __initconst = { 217 217 .name = "edma", 218 218 .id = 0, 219 + .dma_mask = DMA_BIT_MASK(32), 219 220 .res = da8xx_edma0_resources, 220 221 .num_res = ARRAY_SIZE(da8xx_edma0_resources), 221 222 .data = &da8xx_edma0_pdata, ··· 226 225 static const struct platform_device_info da850_edma1_device __initconst = { 227 226 .name = "edma", 228 227 .id = 1, 228 + .dma_mask = DMA_BIT_MASK(32), 229 229 .res = da850_edma1_resources, 230 230 .num_res = ARRAY_SIZE(da850_edma1_resources), 231 231 .data = &da850_edma1_pdata,
+1
arch/arm/mach-davinci/dm355.c
··· 616 616 static const struct platform_device_info dm355_edma_device __initconst = { 617 617 .name = "edma", 618 618 .id = 0, 619 + .dma_mask = DMA_BIT_MASK(32), 619 620 .res = edma_resources, 620 621 .num_res = ARRAY_SIZE(edma_resources), 621 622 .data = &dm355_edma_pdata,
+1
arch/arm/mach-davinci/dm644x.c
··· 545 545 static const struct platform_device_info dm644x_edma_device __initconst = { 546 546 .name = "edma", 547 547 .id = 0, 548 + .dma_mask = DMA_BIT_MASK(32), 548 549 .res = edma_resources, 549 550 .num_res = ARRAY_SIZE(edma_resources), 550 551 .data = &dm644x_edma_pdata,
+1
arch/arm/mach-davinci/dm646x.c
··· 592 592 static const struct platform_device_info dm646x_edma_device __initconst = { 593 593 .name = "edma", 594 594 .id = 0, 595 + .dma_mask = DMA_BIT_MASK(32), 595 596 .res = edma_resources, 596 597 .num_res = ARRAY_SIZE(edma_resources), 597 598 .data = &dm646x_edma_pdata,