Blackfin arch: Fix bug - wrong endpoint number and dma channels of USB
Bryan Wu [Wed, 7 Jan 2009 15:14:39 +0000 (23:14 +0800)]
Blackfin MUSB has 8 endpoints including ep0 and 8 dma channels not 7

Signed-off-by: Bryan Wu <cooloney@kernel.org>

arch/blackfin/mach-bf527/boards/cm_bf527.c
arch/blackfin/mach-bf527/boards/ezbrd.c
arch/blackfin/mach-bf527/boards/ezkit.c
arch/blackfin/mach-bf548/boards/cm_bf548.c
arch/blackfin/mach-bf548/boards/ezkit.c

index c17882b..a2c3578 100644 (file)
@@ -121,8 +121,8 @@ static struct musb_hdrc_config musb_config = {
        .dyn_fifo       = 0,
        .soft_con       = 1,
        .dma            = 1,
-       .num_eps        = 7,
-       .dma_channels   = 7,
+       .num_eps        = 8,
+       .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PF11,
 };
 
index 4e67f58..6f6ce18 100644 (file)
@@ -81,8 +81,8 @@ static struct musb_hdrc_config musb_config = {
        .dyn_fifo       = 0,
        .soft_con       = 1,
        .dma            = 1,
-       .num_eps        = 7,
-       .dma_channels   = 7,
+       .num_eps        = 8,
+       .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PG13,
 };
 
index beea150..28cb8f1 100644 (file)
@@ -120,8 +120,8 @@ static struct musb_hdrc_config musb_config = {
        .dyn_fifo       = 0,
        .soft_con       = 1,
        .dma            = 1,
-       .num_eps        = 7,
-       .dma_channels   = 7,
+       .num_eps        = 8,
+       .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PG13,
 };
 
index d063e0f..cd6b8a3 100644 (file)
@@ -335,8 +335,8 @@ static struct musb_hdrc_config musb_config = {
        .dyn_fifo       = 0,
        .soft_con       = 1,
        .dma            = 1,
-       .num_eps        = 7,
-       .dma_channels   = 7,
+       .num_eps        = 8,
+       .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PH6,
 };
 
index dae7c11..882edd4 100644 (file)
@@ -403,8 +403,8 @@ static struct musb_hdrc_config musb_config = {
        .dyn_fifo       = 0,
        .soft_con       = 1,
        .dma            = 1,
-       .num_eps        = 7,
-       .dma_channels   = 7,
+       .num_eps        = 8,
+       .dma_channels   = 8,
        .gpio_vrsel     = GPIO_PE7,
 };