ethernet: phy_mc_ksz8081: Don't reset in cfg link

No need to reset in cfg link, this was blocking system workqueue during
phy callbacks that call cfg link, since this happens from monitor work
handler which is in the system workqueue.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-10-04 16:46:24 -05:00 committed by Anas Nashif
parent f90b1caae4
commit e904743152

View file

@ -329,12 +329,6 @@ static int phy_mc_ksz8081_cfg_link(const struct device *dev,
/* We are going to reconfigure the phy, don't need to monitor until done */
k_work_cancel_delayable(&data->phy_monitor_work);
/* Reset PHY */
ret = phy_mc_ksz8081_reset(dev);
if (ret) {
goto done;
}
/* DT configurations */
ret = phy_mc_ksz8081_static_cfg(dev);
if (ret) {