Linux-ARM-Kernel Archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: ep93xx: vision_ep9307: enable DMA for SPI
@ 2015-06-16 16:50 H Hartley Sweeten
  0 siblings, 0 replies; 3+ messages in thread
From: H Hartley Sweeten @ 2015-06-16 16:50 UTC (permalink / raw
  To: linux-arm-kernel

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>
---
 arch/arm/mach-ep93xx/vision_ep9307.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-ep93xx/vision_ep9307.c b/arch/arm/mach-ep93xx/vision_ep9307.c
index 6bc1c18..aa87dfa 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,
 };
 
 /*************************************************************************
-- 
2.3.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 1/2] ARM: ep93xx: vision_ep9307: enable DMA for SPI
  2015-06-16 16:52 [PATCH 0/2] ARM: ep93xx: vision_ep9307: minor updates H Hartley Sweeten
@ 2015-06-16 16:52 ` H Hartley Sweeten
  2015-07-09 14:58   ` Linus Walleij
  0 siblings, 1 reply; 3+ messages in thread
From: H Hartley Sweeten @ 2015-06-16 16:52 UTC (permalink / raw
  To: linux-arm-kernel

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>
---
 arch/arm/mach-ep93xx/vision_ep9307.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/mach-ep93xx/vision_ep9307.c b/arch/arm/mach-ep93xx/vision_ep9307.c
index 6bc1c18..aa87dfa 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,
 };
 
 /*************************************************************************
-- 
2.3.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 1/2] ARM: ep93xx: vision_ep9307: enable DMA for SPI
  2015-06-16 16:52 ` [PATCH 1/2] ARM: ep93xx: vision_ep9307: enable DMA for SPI H Hartley Sweeten
@ 2015-07-09 14:58   ` Linus Walleij
  0 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2015-07-09 14:58 UTC (permalink / raw
  To: linux-arm-kernel

On Tue, Jun 16, 2015 at 6:52 PM, H Hartley Sweeten
<hsweeten@visionengravers.com> wrote:

> 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>

I've signed this off and queued for my pull request to ARM SoC.
Also cooking a similar patch for my simone card.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-09 14:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-16 16:50 [PATCH 1/2] ARM: ep93xx: vision_ep9307: enable DMA for SPI H Hartley Sweeten
  -- strict thread matches above, loose matches on Subject: below --
2015-06-16 16:52 [PATCH 0/2] ARM: ep93xx: vision_ep9307: minor updates H Hartley Sweeten
2015-06-16 16:52 ` [PATCH 1/2] ARM: ep93xx: vision_ep9307: enable DMA for SPI H Hartley Sweeten
2015-07-09 14:58   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).