]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:07 +0000 (15:11 +0200)
commit50a2ed164f59e0190bd9fb743fd746106d295eb9
tree4835c6412369fcf0ffe353a1d724942f19fcf6c8
parent9384262ad8103c6d2de2844c6df5a005eefd98cc
net: axienet: Clean up DMA start/stop and error handling

[ Upstream commit 84b9ccc0749a7036bcaf707f02273dcbd4756fbf ]

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>
Stable-dep-of: 5a6caa2cfabb ("net: xilinx: axienet: Fix packet counting")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c