net: ethernet: ti: davinci_cpdma: don't stop ctlr if it was stopped
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Fri, 11 Nov 2016 14:10:47 +0000 (16:10 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 13 Nov 2016 18:40:24 +0000 (13:40 -0500)
commitb993eec0e1ec4ad1c9d04362afd4fd83261052c9
tree6fd4d8338d903aaa48050098a683f341e57e3493
parent991ddb1f6a94dcf2d0cdc9efd0a1f8fcd21cfedc
net: ethernet: ti: davinci_cpdma: don't stop ctlr if it was stopped

No need to stop ctlr if it was already stopped. It can cause timeout
warns. Steps:
- ifconfig eth0 down
- ethtool -l eth0 rx 8 tx 8
- ethtool -l eth0 rx 1 tx 1

Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/davinci_cpdma.c