提交 0a429fd1 编写于 作者: F Fabio Baltieri 提交者: Linus Walleij

ARM: ux500: set coherent_dma_mask for dma40

Set coherent_dma_mask to DMA_BIT_MASK(32) for dma40 platform_device, as
without this DMA allocations were failing with the error:

dma40 dma40.0: coherent DMA mask is unset

when booting without device-tree.
Signed-off-by: NFabio Baltieri <fabio.baltieri@linaro.org>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 88046773
...@@ -49,6 +49,7 @@ struct stedma40_platform_data dma40_plat_data = { ...@@ -49,6 +49,7 @@ struct stedma40_platform_data dma40_plat_data = {
struct platform_device u8500_dma40_device = { struct platform_device u8500_dma40_device = {
.dev = { .dev = {
.platform_data = &dma40_plat_data, .platform_data = &dma40_plat_data,
.coherent_dma_mask = DMA_BIT_MASK(32),
}, },
.name = "dma40", .name = "dma40",
.id = 0, .id = 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册