Skip to content
Commit c96f236a authored by Pisit Sawangvonganan's avatar Pisit Sawangvonganan Committed by Benjamin Cabé
Browse files

drivers: ethernet: ksz8081: simplify gpio reset logic in `reset`



Simplifies GPIO reset logic in `phy_mc_ksz8081_reset()` by introducing
a dedicated function, `phy_ksz8081_reset_gpio`. If this function returns
`-ENODEV`, it will fall back to using a command-based reset instead.

Signed-off-by: default avatarPisit Sawangvonganan <pisit@ndrsolution.com>
parent 38ef52b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment