diff options
author | Subash Patel <subashrp@gmail.com> | 2012-12-10 17:20:45 +0530 |
---|---|---|
committer | Tushar Behera <tushar.behera@linaro.org> | 2013-01-22 11:41:40 +0530 |
commit | b309415c157965d25f058f1be71d684a17ad0366 (patch) | |
tree | 0bd75b1f0436c09ee0e30887807d226cc567a895 | |
parent | a02b953c59cf244c387487fad8b0a3bc139c5b01 (diff) | |
download | linux-topics-b309415c157965d25f058f1be71d684a17ad0366.tar.gz |
ARM: OF: update coherent_dma_mask
This patch is tested in ARM:exynos5250 with LPAE enabled. The coherent_dma_mask
needs to be defined to DMA_BIT_MASK(64) as dma-mapping API's check it against
64-bit mask.
Signed-off-by: Subash Patel <subash.rp@samsung.com>
-rw-r--r-- | drivers/of/platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/of/platform.c b/drivers/of/platform.c index b80891b4381..a881d9441fe 100644 --- a/drivers/of/platform.c +++ b/drivers/of/platform.c @@ -214,7 +214,7 @@ struct platform_device *of_platform_device_create_pdata( #if defined(CONFIG_MICROBLAZE) dev->archdata.dma_mask = 0xffffffffUL; #endif - dev->dev.coherent_dma_mask = DMA_BIT_MASK(32); + dev->dev.coherent_dma_mask = DMA_BIT_MASK(64); dev->dev.bus = &platform_bus_type; dev->dev.platform_data = platform_data; |