diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/gadget/pch_udc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pch_udc.c b/drivers/usb/gadget/pch_udc.c index 6a44c921d13c..96606b6cff45 100644 --- a/drivers/usb/gadget/pch_udc.c +++ b/drivers/usb/gadget/pch_udc.c | |||
@@ -2915,8 +2915,10 @@ static int pch_udc_probe(struct pci_dev *pdev, | |||
2915 | } | 2915 | } |
2916 | pch_udc = dev; | 2916 | pch_udc = dev; |
2917 | /* initialize the hardware */ | 2917 | /* initialize the hardware */ |
2918 | if (pch_udc_pcd_init(dev)) | 2918 | if (pch_udc_pcd_init(dev)) { |
2919 | retval = -ENODEV; | ||
2919 | goto finished; | 2920 | goto finished; |
2921 | } | ||
2920 | if (request_irq(pdev->irq, pch_udc_isr, IRQF_SHARED, KBUILD_MODNAME, | 2922 | if (request_irq(pdev->irq, pch_udc_isr, IRQF_SHARED, KBUILD_MODNAME, |
2921 | dev)) { | 2923 | dev)) { |
2922 | dev_err(&pdev->dev, "%s: request_irq(%d) fail\n", __func__, | 2924 | dev_err(&pdev->dev, "%s: request_irq(%d) fail\n", __func__, |