[PATCH net-next v2 0/2] Refine stmmac code
From: Tiezhu Yang
Date: Wed Jul 23 2025 - 06:01:45 EST
Here are two small patches to refine stmmac code when debugging and
testing the problem "Failed to reset the dma".
v2:
-- Update the commit message of patch #1 to explain the background.
-- Add Reviewed-by tag for patch #2, no code changes.
Tiezhu Yang (2):
net: stmmac: Return early if invalid in loongson_dwmac_fix_reset()
net: stmmac: Check stmmac_hw_setup() in stmmac_resume()
drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c | 3 +++
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 9 ++++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
--
2.42.0