linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 23/27 v2] ARM: shmobile: armadillo800eva: enable DMAEngine on USB
@ 2012-06-12  9:41 Kuninori Morimoto
  2012-06-13  0:51 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Kuninori Morimoto @ 2012-06-12  9:41 UTC (permalink / raw)
  To: linux-sh

It is possible to reduce CPU load if USB used DMAEngine.
This patch enabled it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
v1 -> v2

 - no change

 arch/arm/mach-shmobile/board-armadillo800eva.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-armadillo800eva.c b/arch/arm/mach-shmobile/board-armadillo800eva.c
index 9831402..5f8f571 100644
--- a/arch/arm/mach-shmobile/board-armadillo800eva.c
+++ b/arch/arm/mach-shmobile/board-armadillo800eva.c
@@ -283,6 +283,8 @@ static struct usbhsf_private usbhsf_private = {
 		.driver_param = {
 			.buswait_bwait		= 5,
 			.detection_delay	= 5,
+			.d0_rx_id	= SHDMA_SLAVE_USBHS_RX,
+			.d1_tx_id	= SHDMA_SLAVE_USBHS_TX,
 		},
 	}
 };
-- 
1.7.5.4


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

* Re: [PATCH 23/27 v2] ARM: shmobile: armadillo800eva: enable DMAEngine on USB
  2012-06-12  9:41 [PATCH 23/27 v2] ARM: shmobile: armadillo800eva: enable DMAEngine on USB Kuninori Morimoto
@ 2012-06-13  0:51 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2012-06-13  0:51 UTC (permalink / raw)
  To: linux-sh

On Tue, Jun 12, 2012 at 02:41:59AM -0700, Kuninori Morimoto wrote:
> It is possible to reduce CPU load if USB used DMAEngine.
> This patch enabled it.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

As I tested v1 of this patch:

Tested-by: Simon Horman <horms@verge.net.au>

> ---
> v1 -> v2
> 
>  - no change
> 
>  arch/arm/mach-shmobile/board-armadillo800eva.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)

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

end of thread, other threads:[~2012-06-13  0:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-12  9:41 [PATCH 23/27 v2] ARM: shmobile: armadillo800eva: enable DMAEngine on USB Kuninori Morimoto
2012-06-13  0:51 ` Simon Horman

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 NNTP newsgroup(s).