From: anarsoul@gmail.com (Vasily Khoruzhick)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/3] ARM: s3c24xx: add dma_coherent_mask for DMA devices
Date: Sun, 3 May 2015 21:15:08 +0300 [thread overview]
Message-ID: <1430676910-30657-1-git-send-email-anarsoul@gmail.com> (raw)
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
next reply other threads:[~2015-05-03 18:15 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-03 18:15 Vasily Khoruzhick [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1430676910-30657-1-git-send-email-anarsoul@gmail.com \
--to=anarsoul@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).