Message ID | 20240902-fdma-sparx5-v1-10-1e7d5e5a9f34@microchip.com (mailing list archive) |
---|---|
State | Accepted |
Commit | bb7a60dab43ba79df2c7795172f2c80894f25c50 |
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 4fc52140752a..38735bac6482 100644 --- a/drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c +++ b/drivers/net/ethernet/microchip/sparx5/sparx5_fdma.c @@ -494,5 +494,6 @@ int sparx5_fdma_stop(struct sparx5 *sparx5) FDMA_PORT_CTRL_XTR_BUF_IS_EMPTY_GET(val) == 0, 500, 10000, 0, sparx5); fdma_free_phys(&sparx5->rx.fdma); + fdma_free_phys(&sparx5->tx.fdma); return 0; }