diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2016-11-11 15:45:24 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-13 13:40:24 -0500 |
commit | 991ddb1f6a94dcf2d0cdc9efd0a1f8fcd21cfedc (patch) | |
tree | ac82fd5f91c0379797d6e06a28dfc9d0b5252f01 /drivers/char | |
parent | f7ad3d4b83e694347cddc96d956143068bef32c9 (diff) | |
download | linux-991ddb1f6a94dcf2d0cdc9efd0a1f8fcd21cfedc.tar.bz2 |
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 'drivers/char')
0 files changed, 0 insertions, 0 deletions