Merge tag 'usb-5.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux-2.6-microblaze.git] / drivers / usb / host / ohci-tmio.c
index 7f857ba..08ec2ab 100644 (file)
@@ -202,6 +202,9 @@ static int ohci_hcd_tmio_drv_probe(struct platform_device *dev)
        if (!cell)
                return -EINVAL;
 
+       if (irq < 0)
+               return irq;
+
        hcd = usb_create_hcd(&ohci_tmio_hc_driver, &dev->dev, dev_name(&dev->dev));
        if (!hcd) {
                ret = -ENOMEM;