summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@linaro.org>2016-11-11 16:45:24 +0300
committerDavid S. Miller <davem@davemloft.net>2016-11-13 21:40:24 +0300
commit991ddb1f6a94dcf2d0cdc9efd0a1f8fcd21cfedc (patch)
treeac82fd5f91c0379797d6e06a28dfc9d0b5252f01 /lib
parentf7ad3d4b83e694347cddc96d956143068bef32c9 (diff)
downloadlinux-991ddb1f6a94dcf2d0cdc9efd0a1f8fcd21cfedc.tar.xz
net: ethernet: ti: davinci_cpdma: fix fixed prio cpdma ctlr configuration
The dma ctlr is reseted to 0 while cpdma soft reset, thus cpdma ctlr cannot be configured after cpdma is stopped. So restoring content of cpdma ctlr while off/on procedure is needed. The cpdma ctlr off/on procedure is present while interface down/up and while changing number of channels with ethtool. In order to not restore content in many places, move it to cpdma_ctlr_start(). Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions