Message ID | 20211026173943.6829-11-s.shtylyov@omp.ru (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | [v2,01/22] usb: host: ehci-exynos: deny IRQ0 | expand |
diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c index 5f5e8a64c8e2..f28f28e42f43 100644 --- a/drivers/usb/host/ohci-exynos.c +++ b/drivers/usb/host/ohci-exynos.c @@ -175,6 +175,10 @@ static int exynos_ohci_probe(struct platform_device *pdev) err = irq; goto fail_io; } + if (!irq) { + err = -EINVAL; + goto fail_io; + } platform_set_drvdata(pdev, hcd);