summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-06-16 09:52:46 -0700
committerLinus Walleij <linus.walleij@linaro.org>2015-07-17 11:50:23 +0200
commit25105231f071960c0f7109f0e01ba55c7b823701 (patch)
treef27dad90fa9553504dbace790e9a4edf4610d451 /arch
parente8a7d2bb93f8b713b0536ef6f86b745b288fa96f (diff)
downloadlinux-25105231f071960c0f7109f0e01ba55c7b823701.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-ep93xx/vision_ep9307.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/vision_ep9307.c b/arch/arm/mach-ep93xx/vision_ep9307.c
index 6bc1c181581d..aa87dfa5e805 100644
--- a/arch/arm/mach-ep93xx/vision_ep9307.c
+++ b/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,
};
/*************************************************************************