* commit '9d8ff393a8a5e6ed584fc05dd960b02e0c7ade5f': net: ethernet: prueth: fix storm prev enable for DualEMAC
@@ -1466,7 +1466,7 @@ static enum hrtimer_restart prueth_timer(struct hrtimer *timer)
enum prueth_mac mac;
hrtimer_forward_now(timer, ktime_set(0, prueth->tbl_check_period));
- if (prueth->emac_configured !=
+ if (PRUETH_HAS_RED(prueth) && prueth->emac_configured !=
(BIT(PRUETH_PORT_MII0) | BIT(PRUETH_PORT_MII1)))
return HRTIMER_RESTART;