Browse Source

ARM: ep93xx: vision_ep9307: enable DMA for SPI

Enable the 'use_dma' flag in the SPI platform data to improve the speed
of the mmc_spi driver.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
H Hartley Sweeten 10 years ago
parent
commit
25105231f0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      arch/arm/mach-ep93xx/vision_ep9307.c

+ 2 - 1
arch/arm/mach-ep93xx/vision_ep9307.c

@@ -281,7 +281,8 @@ static struct spi_board_info vision_spi_board_info[] __initdata = {
 };
 
 static struct ep93xx_spi_info vision_spi_master __initdata = {
-	.num_chipselect		= ARRAY_SIZE(vision_spi_board_info),
+	.num_chipselect	= ARRAY_SIZE(vision_spi_board_info),
+	.use_dma	= 1,
 };
 
 /*************************************************************************