aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/phy/phy-msm-usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/phy/phy-msm-usb.c')
-rw-r--r--drivers/usb/phy/phy-msm-usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/phy/phy-msm-usb.c b/drivers/usb/phy/phy-msm-usb.c
index 8546c8dccd51..64c9d14ea77d 100644
--- a/drivers/usb/phy/phy-msm-usb.c
+++ b/drivers/usb/phy/phy-msm-usb.c
@@ -1429,7 +1429,8 @@ static int __init msm_otg_probe(struct platform_device *pdev)
1429 motg->phy.otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL); 1429 motg->phy.otg = kzalloc(sizeof(struct usb_otg), GFP_KERNEL);
1430 if (!motg->phy.otg) { 1430 if (!motg->phy.otg) {
1431 dev_err(&pdev->dev, "unable to allocate msm_otg\n"); 1431 dev_err(&pdev->dev, "unable to allocate msm_otg\n");
1432 return -ENOMEM; 1432 ret = -ENOMEM;
1433 goto free_motg;
1433 } 1434 }
1434 1435
1435 motg->pdata = dev_get_platdata(&pdev->dev); 1436 motg->pdata = dev_get_platdata(&pdev->dev);