mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 18:41:58 +09:00
ethernet: stmmac: dwmac-rk: Fix rebind failed for this driver
Signed-off-by: David Wu <david.wu@rock-chips.com> Change-Id: I29f72b36defa3d5b29a00a574073a790c19289d9
This commit is contained in:
@@ -3079,6 +3079,8 @@ static int rk_gmac_remove(struct platform_device *pdev)
|
||||
|
||||
rk_gmac_powerdown(bsp_priv);
|
||||
dwmac_rk_remove_loopback_sysfs(&pdev->dev);
|
||||
if (bsp_priv->phy_reset)
|
||||
reset_control_put(bsp_priv->phy_reset);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user