summaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3/dwc3-pci.c
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-05-02 13:38:40 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-05-02 13:38:40 -0700
commit9da06237e8cbb2f20a35adf23af8c7bb3b245804 (patch)
treef65b0944b4f3fe43070f3a10676fe2062456b007 /drivers/usb/dwc3/dwc3-pci.c
parent6fa93fc89f5e5641c0ad1be533b016e065cbf04d (diff)
parentee76c85f715377aec3b0115e48b7d66a726ffdea (diff)
Merge "Merge android-4.4.129 (b1c4836) into msm-4.4"
Diffstat (limited to 'drivers/usb/dwc3/dwc3-pci.c')
-rw-r--r--drivers/usb/dwc3/dwc3-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/dwc3-pci.c b/drivers/usb/dwc3/dwc3-pci.c
index d2c0c1a8d979..68230adf2449 100644
--- a/drivers/usb/dwc3/dwc3-pci.c
+++ b/drivers/usb/dwc3/dwc3-pci.c
@@ -167,7 +167,7 @@ static int dwc3_pci_probe(struct pci_dev *pci,
ret = platform_device_add_resources(dwc3, res, ARRAY_SIZE(res));
if (ret) {
dev_err(dev, "couldn't add resources to dwc3 device\n");
- return ret;
+ goto err;
}
pci_set_drvdata(pci, dwc3);