Message ID | 20240902-fdma-sparx5-v1-6-1e7d5e5a9f34@microchip.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 6647f2fd8df056d2bc7c74e25469388ad375d98d |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | net: microchip: add FDMA library and use it for Sparx5 | expand |
diff --git a/drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c b/drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c index 122876136f75..d01516f32d0c 100644 --- a/drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c +++ b/drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c @@ -523,5 +523,6 @@ int sparx5_fdma_stop(struct sparx5 *sparx5) read_poll_timeout(sparx5_fdma_port_ctrl, val, FDMA_PORT_CTRL_XTR_BUF_IS_EMPTY_GET(val) == 0, 500, 10000, 0, sparx5); + fdma_free_phys(&sparx5->rx.fdma); return 0; }