diff --git a/drivers/usb/phytium/host.c b/drivers/usb/phytium/host.c index 35a104d0c5739..8a327b09f15ae 100644 --- a/drivers/usb/phytium/host.c +++ b/drivers/usb/phytium/host.c @@ -448,7 +448,7 @@ static void hostErrorIrq(struct HOST_CTRL *priv) rxerrirq = phytium_read16(&priv->regs->rxerrirq); rxerrien = phytium_read16(&priv->regs->rxerrien); - rxerrirq &= rxerrirq; + rxerrirq &= rxerrien; if (!txerrirq && !rxerrirq) return;