Skip to content
Commit 6ac0d8bf authored by Declan Snyder's avatar Declan Snyder Committed by Anas Nashif
Browse files

drivers: mdio_nxp_enet: Fix busy wait



Fix the busy wait in the MDIO driver that was causing timing
problems in systems with real time requirements performing tasks
more frequently than about a millisecond.

Restructure the code to be less redundant and change the busy wait
kconfig to microseconds instead of millliseconds. Also actually signal
to the mdio driver that it can use the interrupt instead of busy
waiting, this seems to have been forgotten.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent 98648525
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment