Permalink
Browse files

ARM: s3c64xx: tiny6410: Configure platform device for new s3c-jpeg dr…

…iver.
  • Loading branch information...
1 parent 401f8df commit 72f47344d830b7b81883c41743b3003639da11b7 @tom3q tom3q committed Apr 11, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 arch/arm/mach-s3c64xx/mach-tiny6410.c
@@ -630,6 +630,8 @@ static struct resource s3c_pp_resource[] = {
}
};
+static u64 full_dmamask = DMA_BIT_MASK(32);
+
static struct platform_device *tiny6410_mod_devices[] __initdata = {
&(struct platform_device){
.name = "s3c-g3d",
@@ -654,6 +656,8 @@ static struct platform_device *tiny6410_mod_devices[] __initdata = {
.resource = s3c_jpeg_resource,
.dev = {
.parent = &s3c64xx_device_pd[S3C64XX_DOMAIN_I].dev,
+ .dma_mask = &full_dmamask,
+ .coherent_dma_mask = DMA_BIT_MASK(32),
},
}, &(struct platform_device){
.name = "s3c-fimc",

0 comments on commit 72f4734

Please sign in to comment.