Commit fea05dac authored by Bryan Wu's avatar Bryan Wu

Blackfin arch: Fix bug - wrong endpoint number and dma channels of USB

Blackfin MUSB has 8 endpoints including ep0 and 8 dma channels not 7
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent 508808cd
...@@ -121,8 +121,8 @@ static struct musb_hdrc_config musb_config = { ...@@ -121,8 +121,8 @@ static struct musb_hdrc_config musb_config = {
.dyn_fifo = 0, .dyn_fifo = 0,
.soft_con = 1, .soft_con = 1,
.dma = 1, .dma = 1,
.num_eps = 7, .num_eps = 8,
.dma_channels = 7, .dma_channels = 8,
.gpio_vrsel = GPIO_PF11, .gpio_vrsel = GPIO_PF11,
}; };
......
...@@ -81,8 +81,8 @@ static struct musb_hdrc_config musb_config = { ...@@ -81,8 +81,8 @@ static struct musb_hdrc_config musb_config = {
.dyn_fifo = 0, .dyn_fifo = 0,
.soft_con = 1, .soft_con = 1,
.dma = 1, .dma = 1,
.num_eps = 7, .num_eps = 8,
.dma_channels = 7, .dma_channels = 8,
.gpio_vrsel = GPIO_PG13, .gpio_vrsel = GPIO_PG13,
}; };
......
...@@ -120,8 +120,8 @@ static struct musb_hdrc_config musb_config = { ...@@ -120,8 +120,8 @@ static struct musb_hdrc_config musb_config = {
.dyn_fifo = 0, .dyn_fifo = 0,
.soft_con = 1, .soft_con = 1,
.dma = 1, .dma = 1,
.num_eps = 7, .num_eps = 8,
.dma_channels = 7, .dma_channels = 8,
.gpio_vrsel = GPIO_PG13, .gpio_vrsel = GPIO_PG13,
}; };
......
...@@ -335,8 +335,8 @@ static struct musb_hdrc_config musb_config = { ...@@ -335,8 +335,8 @@ static struct musb_hdrc_config musb_config = {
.dyn_fifo = 0, .dyn_fifo = 0,
.soft_con = 1, .soft_con = 1,
.dma = 1, .dma = 1,
.num_eps = 7, .num_eps = 8,
.dma_channels = 7, .dma_channels = 8,
.gpio_vrsel = GPIO_PH6, .gpio_vrsel = GPIO_PH6,
}; };
......
...@@ -403,8 +403,8 @@ static struct musb_hdrc_config musb_config = { ...@@ -403,8 +403,8 @@ static struct musb_hdrc_config musb_config = {
.dyn_fifo = 0, .dyn_fifo = 0,
.soft_con = 1, .soft_con = 1,
.dma = 1, .dma = 1,
.num_eps = 7, .num_eps = 8,
.dma_channels = 7, .dma_channels = 8,
.gpio_vrsel = GPIO_PE7, .gpio_vrsel = GPIO_PE7,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment