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:
parent
f90b1caae4
commit
e904743152
1 changed files with 0 additions and 6 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue