summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-histb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/xhci-histb.c')
-rw-r--r--drivers/usb/host/xhci-histb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-histb.c b/drivers/usb/host/xhci-histb.c
index 5546e7e013a8..08369857686e 100644
--- a/drivers/usb/host/xhci-histb.c
+++ b/drivers/usb/host/xhci-histb.c
@@ -240,7 +240,7 @@ static int xhci_histb_probe(struct platform_device *pdev)
/* Initialize dma_mask and coherent_dma_mask to 32-bits */
ret = dma_set_mask_and_coherent(dev, DMA_BIT_MASK(32));
if (ret)
- return ret;
+ goto disable_pm;
hcd = usb_create_hcd(driver, dev, dev_name(dev));
if (!hcd) {