|
@@ -106,7 +106,7 @@ static int dwc2_driver_probe(struct platform_device *dev)
|
|
irq = platform_get_irq(dev, 0);
|
|
irq = platform_get_irq(dev, 0);
|
|
if (irq < 0) {
|
|
if (irq < 0) {
|
|
dev_err(&dev->dev, "missing IRQ resource\n");
|
|
dev_err(&dev->dev, "missing IRQ resource\n");
|
|
- return -EINVAL;
|
|
|
|
|
|
+ return irq;
|
|
}
|
|
}
|
|
|
|
|
|
res = platform_get_resource(dev, IORESOURCE_MEM, 0);
|
|
res = platform_get_resource(dev, IORESOURCE_MEM, 0);
|