W dniu 2010-09-09 09:41, Kukjin Kim pisze:
Marek Szyprowski wrote:
FIMC driver uses DMA_coherent allocator, which requires proper dma mask
to be set.
Signed-off-by: Marek Szyprowski<m.szyprowski@xxxxxxxxxxx>
Signed-off-by: Kyungmin Park<kyungmin.park@xxxxxxxxxxx>
---
arch/arm/plat-s5p/dev-fimc0.c | 2 ++
arch/arm/plat-s5p/dev-fimc1.c | 2 ++
arch/arm/plat-s5p/dev-fimc2.c | 2 ++
3 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-s5p/dev-fimc0.c b/arch/arm/plat-s5p/dev-fimc0.c
index d3f1a9b..9f26096 100644
--- a/arch/arm/plat-s5p/dev-fimc0.c
+++ b/arch/arm/plat-s5p/dev-fimc0.c
@@ -33,4 +33,6 @@ struct platform_device s5p_device_fimc0 = {
.id = 0,
.num_resources = ARRAY_SIZE(s5p_fimc0_resource),
.resource = s5p_fimc0_resource,
+ .dev.dma_mask =&s5p_device_fimc0.dev.coherent_dma_mask,
+ .dev.coherent_dma_mask = 0xffffffffUL,
Ok...but I prefer following style :-)
Could you please re-submit your this patch?
OK, I will update the style and resubmit the patch.
Best regards
--
Marek Szyprowski
Samsung Poland R&D Center
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html