Merge tag 'usb-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[platform/kernel/linux-starfive.git] / drivers / usb / host / fhci-hcd.c
index 1f66680..92794ff 100644 (file)
@@ -676,7 +676,7 @@ static int of_fhci_probe(struct platform_device *ofdev)
 
        /* USB Host interrupt. */
        usb_irq = irq_of_parse_and_map(node, 0);
-       if (usb_irq == NO_IRQ) {
+       if (!usb_irq) {
                dev_err(dev, "could not get usb irq\n");
                ret = -EINVAL;
                goto err_usb_irq;