If ag71xx_hw_enable() fails, call phylink_disconnect_phy() to clean up.
And if phylink_of_phy_connect() fails, nothing needs to be done.
Compile tested only.
Fixes:
|
||
---|---|---|
.. | ||
alx | ||
atl1c | ||
atl1e | ||
atlx | ||
ag71xx.c | ||
Kconfig | ||
Makefile |