Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 89633
b: refs/heads/master
c: 130d549
h: refs/heads/master
i:
  89631: e5201c0
v: v3
  • Loading branch information
Stefan Richter committed Apr 18, 2008
1 parent 5f81cec commit 786fb7e
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: 43286568adb3ccd4b2f1d0cb7393c355f03e4f39
refs/heads/master: 130d5496e2c9104dcabdaa5c19cd941770e20edc
5 changes: 3 additions & 2 deletions trunk/drivers/firewire/fw-ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -2286,8 +2286,6 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent)
int err;
size_t size;

ohci_pmac_on(dev);

ohci = kzalloc(sizeof(*ohci), GFP_KERNEL);
if (ohci == NULL) {
fw_error("Could not malloc fw_ohci data.\n");
Expand All @@ -2296,6 +2294,8 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent)

fw_card_initialize(&ohci->card, &ohci_driver, &dev->dev);

ohci_pmac_on(dev);

err = pci_enable_device(dev);
if (err) {
fw_error("Failed to enable OHCI hardware.\n");
Expand Down Expand Up @@ -2397,6 +2397,7 @@ pci_probe(struct pci_dev *dev, const struct pci_device_id *ent)
pci_disable_device(dev);
fail_free:
kfree(&ohci->card);
ohci_pmac_off(dev);

return err;
}
Expand Down

0 comments on commit 786fb7e

Please sign in to comment.