linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] ARM: s3c24xx: add dma_coherent_mask for DMA devices
@ 2015-05-03 18:15 Vasily Khoruzhick
  2015-05-03 18:15 ` [PATCH 2/3] ARM: s3c24xx: Add DMA resources for SDI and I2S Vasily Khoruzhick
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Vasily Khoruzhick @ 2015-05-03 18:15 UTC (permalink / raw)
  To: linux-arm-kernel

Otherwise dma_alloc_coherent() fails.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
---
 arch/arm/mach-s3c24xx/common.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/mach-s3c24xx/common.c b/arch/arm/mach-s3c24xx/common.c
index bf50328..7ed0853 100644
--- a/arch/arm/mach-s3c24xx/common.c
+++ b/arch/arm/mach-s3c24xx/common.c
@@ -355,6 +355,7 @@ struct platform_device s3c2410_device_dma = {
 	.resource	= s3c2410_dma_resource,
 	.dev	= {
 		.platform_data	= &s3c2410_dma_platdata,
+		.coherent_dma_mask = ~0,
 	},
 };
 #endif
@@ -452,6 +453,7 @@ struct platform_device s3c2440_device_dma = {
 	.resource	= s3c2410_dma_resource,
 	.dev	= {
 		.platform_data	= &s3c2440_dma_platdata,
+		.coherent_dma_mask = ~0,
 	},
 };
 #endif
-- 
2.3.5

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-05-05  3:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-03 18:15 [PATCH 1/3] ARM: s3c24xx: add dma_coherent_mask for DMA devices Vasily Khoruzhick
2015-05-03 18:15 ` [PATCH 2/3] ARM: s3c24xx: Add DMA resources for SDI and I2S Vasily Khoruzhick
2015-05-04  3:45   ` Krzysztof Kozlowski
2015-05-04 18:10     ` Vasily Khoruzhick
2015-05-05  3:39       ` Krzysztof Kozlowski
2015-05-03 18:15 ` [PATCH 3/3] ARM: s3c24xx: H1940: Move gpiochip_add call into core_init() callback Vasily Khoruzhick
2015-05-04  3:23   ` Krzysztof Kozlowski
2015-05-04 18:27     ` Vasily Khoruzhick
2015-05-05  3:51       ` Krzysztof Kozlowski
2015-05-04  3:42 ` [PATCH 1/3] ARM: s3c24xx: add dma_coherent_mask for DMA devices Krzysztof Kozlowski
2015-05-04 17:54   ` Vasily Khoruzhick
2015-05-05  3:38     ` Krzysztof Kozlowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).