Re: [PATCH v3 4/4] dmaengine: cppi41: init_sched(): Get number of channels from DT

2017-01-19 Thread Sergei Shtylyov
On 1/19/2017 1:37 PM, Alexandre Bailon wrote: Despite the driver is already using DT to get the number of channels, init_sched() is using an hardcoded value to get it. Use DT to get the number of channels. Signed-off-by: Alexandre Bailon --- drivers/dma/cppi41.c | 26 +++--

[PATCH v3 4/4] dmaengine: cppi41: init_sched(): Get number of channels from DT

2017-01-19 Thread Alexandre Bailon
Despite the driver is already using DT to get the number of channels, init_sched() is using an hardcoded value to get it. Use DT to get the number of channels. Signed-off-by: Alexandre Bailon --- drivers/dma/cppi41.c | 26 +++--- 1 file changed, 15 insertions(+), 11 deletions