drivers: mdio: Clear interrupt signal in ISR
Apparently, disabling the intterupt is not enough, because without clearing the flag, some errors are occurring. Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
parent
5474b611cb
commit
9f56ff5d64
1 changed files with 2 additions and 0 deletions
|
|
@ -170,6 +170,8 @@ static void nxp_enet_mdio_isr_cb(const struct device *dev)
|
|||
{
|
||||
struct nxp_enet_mdio_data *data = dev->data;
|
||||
|
||||
data->base->EIR |= ENET_EIR_MII_MASK;
|
||||
|
||||
/* Signal that operation finished */
|
||||
k_sem_give(&data->mdio_sem);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue