Re: [PATCH v2 2/2] USB: at91: using USBA_NR_DMAS for DMA channels

2014-02-19 Thread Nicolas Ferre
On 19/02/2014 03:07, Bo Shen : > The SoCs earlier than sama5d3, they have the same number endpoints > and DMA channels. In driver code, they use the same definition > USBA_NR_ENDPOINTS for both endpoints and dma channels. However, > in sama5d3, it has different number for endpoints and DMA channels

[PATCH v2 2/2] USB: at91: using USBA_NR_DMAS for DMA channels

2014-02-18 Thread Bo Shen
The SoCs earlier than sama5d3, they have the same number endpoints and DMA channels. In driver code, they use the same definition USBA_NR_ENDPOINTS for both endpoints and dma channels. However, in sama5d3, it has different number for endpoints and DMA channels. So, define a new micro USBA_NR_DMAs f