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

drivers: mdio_nxp_enet: Don't disable IRQ



No real need to be enabling and disabling IRQs, this logic has been
reported to be causing spurious interrupts and strange behavior, we can
just enable the interrupt and switch to interrupt based logic one time
and keep the interrupt enabled at that point.

Also, fix a W1C bug where |= was used instead of = to clear a flag.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
(cherry picked from commit 2ab10462)
parent 1aa25cc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment