Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 319234
b: refs/heads/master
c: 7baab9a
h: refs/heads/master
v: v3
  • Loading branch information
Clemens Ladisch authored and Stefan Richter committed Jun 4, 2012
1 parent bcba060 commit d83e7d7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9d60ef2bd87f201c509cfae13ba6c9013446673d
refs/heads/master: 7baab9acfb25934a32541d617cbc676abd1fbf5b
7 changes: 7 additions & 0 deletions trunk/drivers/firewire/ohci.c
Original file line number Diff line number Diff line change
Expand Up @@ -3545,6 +3545,13 @@ static int __devinit pci_probe(struct pci_dev *dev,

INIT_WORK(&ohci->bus_reset_work, bus_reset_work);

if (!(pci_resource_flags(dev, 0) & IORESOURCE_MEM) ||
pci_resource_len(dev, 0) < OHCI1394_REGISTER_SIZE) {
dev_err(&dev->dev, "invalid MMIO resource\n");
err = -ENXIO;
goto fail_disable;
}

err = pci_request_region(dev, 0, ohci_driver_name);
if (err) {
dev_err(&dev->dev, "MMIO resource unavailable\n");
Expand Down

0 comments on commit d83e7d7

Please sign in to comment.