OSDN Git Service

ARM: mach-shmobile: both USB DMAC instances on sh7372 are slave-only
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 18 Jan 2012 09:14:29 +0000 (10:14 +0100)
committerVinod Koul <vinod.koul@linux.intel.com>
Wed, 1 Feb 2012 16:53:54 +0000 (22:23 +0530)
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
arch/arm/mach-shmobile/setup-sh7372.c

index 6fcf304..a83cf51 100644 (file)
@@ -662,6 +662,7 @@ static struct sh_dmae_pdata usb_dma0_platform_data = {
        .dmaor_is_32bit = 1,
        .needs_tend_set = 1,
        .no_dmars       = 1,
+       .slave_only     = 1,
 };
 
 static struct resource sh7372_usb_dmae0_resources[] = {
@@ -723,6 +724,7 @@ static struct sh_dmae_pdata usb_dma1_platform_data = {
        .dmaor_is_32bit = 1,
        .needs_tend_set = 1,
        .no_dmars       = 1,
+       .slave_only     = 1,
 };
 
 static struct resource sh7372_usb_dmae1_resources[] = {