Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. (cherry picked from commit 2ab1046) Original-Signed-off-by: Declan Snyder <declan.snyder@nxp.com> GitOrigin-RevId: 2ab1046 Cr-Build-Id: 8733565196572304993 Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8733565196572304993 Copybot-Job-Name: zephyr-main-copybot-downstream Change-Id: Ibff2b9dd1b06bda968a9037a23c806d6f0dd45c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5934680 Tested-by: Dawid Niedźwiecki <dawidn@google.com> Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Dawid Niedźwiecki <dawidn@google.com> Reviewed-by: Dawid Niedźwiecki <dawidn@google.com>
- Loading branch information