ARM: ep93xx: vision_ep9307: enable DMA for SPI
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 16 Jun 2015 16:52:46 +0000 (09:52 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jul 2015 09:50:23 +0000 (11:50 +0200)
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>
arch/arm/mach-ep93xx/vision_ep9307.c

index 6bc1c181581d5767376a13f60c61d8cf8a7dc65c..aa87dfa5e805a6429d4600af0c97665cc91d5384 100644 (file)
@@ -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,
 };
 
 /*************************************************************************