Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309650
b: refs/heads/master
c: 4886b1a
h: refs/heads/master
v: v3
  • Loading branch information
Namjae Jeon authored and James Bottomley committed May 23, 2012
1 parent ece4e73 commit d432184
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 841f97bffc11daaef9eb28d201be25b1509db97d
refs/heads/master: 4886b1afee5aaccc2fb3202620a5608caf0c9284
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/ufs/ufshcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1836,7 +1836,7 @@ ufshcd_probe(struct pci_dev *pdev, const struct pci_device_id *id)
err = pci_request_regions(pdev, UFSHCD);
if (err < 0) {
dev_err(&pdev->dev, "request regions failed\n");
goto out_disable;
goto out_host_put;
}

hba->mmio_base = pci_ioremap_bar(pdev, 0);
Expand Down Expand Up @@ -1925,8 +1925,9 @@ ufshcd_probe(struct pci_dev *pdev, const struct pci_device_id *id)
iounmap(hba->mmio_base);
out_release_regions:
pci_release_regions(pdev);
out_disable:
out_host_put:
scsi_host_put(host);
out_disable:
pci_clear_master(pdev);
pci_disable_device(pdev);
out_error:
Expand Down

0 comments on commit d432184

Please sign in to comment.