Re: [PATCH 11/11] dmaengine: cppi41: Fix teardown warnings

2017-01-10 Thread Alexandre Bailon
On 01/09/2017 07:46 PM, Sergei Shtylyov wrote: > On 01/09/2017 07:06 PM, Alexandre Bailon wrote: > >> During the teardown of a RX channel, because there is only one >> completion queue available for RX channel, descriptor of another >> channel may be popped which will cause 2 warnings: >> - the fi

Re: [PATCH 11/11] dmaengine: cppi41: Fix teardown warnings

2017-01-09 Thread Sergei Shtylyov
On 01/09/2017 07:06 PM, Alexandre Bailon wrote: During the teardown of a RX channel, because there is only one completion queue available for RX channel, descriptor of another channel may be popped which will cause 2 warnings: - the first one because we popped a wrong descriptor (neither the c

[PATCH 11/11] dmaengine: cppi41: Fix teardown warnings

2017-01-09 Thread Alexandre Bailon
During the teardown of a RX channel, because there is only one completion queue available for RX channel, descriptor of another channel may be popped which will cause 2 warnings: - the first one because we popped a wrong descriptor (neither the channel's descriptor, neither the teardown descripto