[PATCH v2 2/3] ARM: davinci: Add dma_mask to dm365's eDMA device

Alejandro Mery amery at hanoverdisplays.com
Tue Dec 5 04:34:57 PST 2017


as previously done by cef5b0da4019358cb03c9b0a964d4d63cd7deaf6 for other davinci SoCs

Signed-off-by: Alejandro Mery <amery at hanoverdisplays.com>
---
 arch/arm/mach-davinci/dm365.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-davinci/dm365.c b/arch/arm/mach-davinci/dm365.c
index 9bd17bc77b5c..103316f01a22 100644
--- a/arch/arm/mach-davinci/dm365.c
+++ b/arch/arm/mach-davinci/dm365.c
@@ -928,6 +928,7 @@ static struct resource edma_resources[] = {
 static const struct platform_device_info dm365_edma_device __initconst = {
 	.name		= "edma",
 	.id		= 0,
+	.dma_mask	= DMA_BIT_MASK(32),
 	.res		= edma_resources,
 	.num_res	= ARRAY_SIZE(edma_resources),
 	.data		= &dm365_edma_pdata,
-- 
2.15.0




More information about the linux-arm-kernel mailing list