Re: [PATCH] net: ethernet: ti: cpsw: use destroy ctlr to destroy channels

2016-06-12 Thread David Miller
From: Ivan Khoronzhuk Date: Sat, 11 Jun 2016 01:11:54 +0300 > There is no reason to destroy channels that are destroyed while > cpdma_ctlr destroy. In this case no need to remember how much > channels where created and destroy them by one, as cpdma_ctlr > destroys all of them. > > Signed-off-by:

Re: [PATCH] net: ethernet: ti: cpsw: use destroy ctlr to destroy channels

2016-06-11 Thread Ivan Khoronzhuk
On 11.06.16 12:24, Ivan Khoronzhuk wrote: On 11.06.16 04:17, David Miller wrote: From: Ivan Khoronzhuk Date: Sat, 11 Jun 2016 01:11:54 +0300 Based on master master... of what? master of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git but it's applicable on linux-next

Re: [PATCH] net: ethernet: ti: cpsw: use destroy ctlr to destroy channels

2016-06-11 Thread Ivan Khoronzhuk
On 11.06.16 04:17, David Miller wrote: From: Ivan Khoronzhuk Date: Sat, 11 Jun 2016 01:11:54 +0300 Based on master master... of what? master of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git but it's applicable on linux-next master also. -- Regards, Ivan Khoronzhuk

Re: [PATCH] net: ethernet: ti: cpsw: use destroy ctlr to destroy channels

2016-06-10 Thread David Miller
From: Ivan Khoronzhuk Date: Sat, 11 Jun 2016 01:11:54 +0300 > Based on master master... of what?

[PATCH] net: ethernet: ti: cpsw: use destroy ctlr to destroy channels

2016-06-10 Thread Ivan Khoronzhuk
There is no reason to destroy channels that are destroyed while cpdma_ctlr destroy. In this case no need to remember how much channels where created and destroy them by one, as cpdma_ctlr destroys all of them. Signed-off-by: Ivan Khoronzhuk --- Based on master drivers/net/ethernet/ti/cpsw.c |