ARM: mach-shmobile: mackerel: Add USB-DMA ID
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 17 Jun 2011 08:21:21 +0000 (08:21 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 8 Aug 2011 07:41:44 +0000 (16:41 +0900)
This patch use channel0 as Tx, and channel1 as Rx

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/arm/mach-shmobile/board-mackerel.c

index d41c01f83f152f75589cc228a186a6f98da59a5e..e1d9b6af3f94846aca132316f17730cd10383f50 100644 (file)
@@ -641,6 +641,8 @@ static struct usbhs_private usbhs0_private = {
                },
                .driver_param = {
                        .buswait_bwait  = 4,
+                       .d0_tx_id       = SHDMA_SLAVE_USB0_TX,
+                       .d1_rx_id       = SHDMA_SLAVE_USB0_RX,
                },
        },
 };
@@ -810,6 +812,8 @@ static struct usbhs_private usbhs1_private = {
                        .buswait_bwait  = 4,
                        .pipe_type      = usbhs1_pipe_cfg,
                        .pipe_size      = ARRAY_SIZE(usbhs1_pipe_cfg),
+                       .d0_tx_id       = SHDMA_SLAVE_USB1_TX,
+                       .d1_rx_id       = SHDMA_SLAVE_USB1_RX,
                },
        },
 };