]> git.baikalelectronics.ru Git - kernel.git/commit
net: axienet: Clean up DMA start/stop and error handling
authorRobert Hancock <robert.hancock@calian.com>
Sat, 5 Mar 2022 02:24:39 +0000 (20:24 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Mar 2022 11:12:08 +0000 (11:12 +0000)
commit4975964a9443607bd43a941bdc254eb5104960ca
tree7c7e073949d27dff740ab780d0b1638a89f2702f
parent077b69c1e81ecfd8c6c0bda5fda0b7078b0727f0
net: axienet: Clean up DMA start/stop and error handling

Simplify the DMA error handling process, and remove some duplicated code
between the DMA error handling and the stop function.

Signed-off-by: Robert Hancock <robert.hancock@calian.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c