Florian Fainelli
4a0c081eff
net: bcmgenet: call bcmgenet_dma_teardown in bcmgenet_fini_dma
...
We should not be manipulaging the DMA_CTRL registers directly by writing
0 to them to disable DMA. This is an operation that needs to be timed to
make sure the DMA engines have been properly stopped since their state
machine stops on a packet boundary, not immediately.
Make sure that tha bcmgenet_fini_dma() calls bcmgenet_dma_teardown() to
ensure a proper DMA engine state. As a result, we need to reorder the
function bodies to resolve the use dependency.
Fixes: 1c1008c793 ("net: bcmgenet: add main driver file")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2014-09-22 18:38:40 -04:00
..
2014-09-19 16:28:57 -04:00
2014-08-14 18:10:33 -06:00
2014-08-12 12:15:14 -06:00
2014-07-24 23:35:42 -07:00
2014-09-05 21:57:09 -07:00
2014-08-05 16:43:49 -07:00
2014-08-12 12:15:14 -06:00
2014-05-24 00:32:30 -04:00
2014-09-05 22:37:30 -07:00
2014-09-01 20:33:15 -07:00
2014-09-12 17:18:03 -04:00
2014-08-12 12:15:14 -06:00
2014-09-22 18:38:40 -04:00
2014-08-25 17:27:09 -07:00
2014-07-24 23:39:55 -07:00
2014-09-02 13:23:25 -07:00
2014-09-15 17:42:59 -04:00
2014-08-02 16:40:52 -07:00
2014-08-12 12:15:14 -06:00
2014-09-22 16:02:34 -04:00
2014-08-12 12:15:14 -06:00
2014-08-12 12:15:14 -06:00
2014-08-14 18:10:33 -06:00
2014-05-13 17:43:20 -04:00
2014-08-22 10:45:56 -07:00
2014-08-07 16:02:58 -07:00
2014-06-02 23:39:05 -07:00
2014-08-12 12:15:14 -06:00
2014-08-25 17:27:09 -07:00
2014-08-12 12:15:14 -06:00
2014-08-25 17:27:09 -07:00
2014-08-25 20:21:55 -07:00
2014-09-10 15:21:34 -07:00
2014-08-12 12:15:14 -06:00
2014-05-13 17:43:20 -04:00
2014-08-25 17:25:39 -07:00
2014-08-14 18:10:33 -06:00
2014-08-12 12:15:14 -06:00
2014-08-12 12:15:14 -06:00
2014-08-12 12:15:14 -06:00
2014-09-02 13:21:55 -07:00
2014-09-08 14:23:46 -07:00
2014-09-22 13:25:51 -04:00
2014-08-12 12:15:14 -06:00
2014-08-12 12:15:14 -06:00
2014-08-25 17:27:10 -07:00
2014-08-12 12:15:14 -06:00
2014-09-22 15:19:17 -04:00
2014-09-02 13:23:25 -07:00
2014-06-11 15:01:30 -07:00
2014-09-16 16:33:34 -04:00
2014-08-12 12:15:14 -06:00
2014-08-12 12:15:14 -06:00
2014-08-12 12:15:14 -06:00
2014-08-14 18:10:33 -06:00
2014-09-01 21:51:29 -07:00
2014-09-08 14:08:14 -07:00
2014-08-12 12:15:14 -06:00
2014-09-13 13:00:05 -04:00
2014-07-15 16:12:48 -07:00
2014-08-12 12:15:14 -06:00
2014-08-12 12:15:14 -06:00
2014-08-14 14:38:54 -07:00
2014-08-11 12:19:53 -07:00
2014-08-02 16:40:52 -07:00
2014-05-14 16:09:33 -04:00
2014-08-12 12:15:14 -06:00
2014-08-12 12:15:14 -06:00
2014-08-11 11:50:33 -07:00
2014-08-11 11:50:33 -07:00