Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 127211
b: refs/heads/master
c: 8e8ce4b
h: refs/heads/master
i:
  127209: 4fccd76
  127207: c501f7e
v: v3
  • Loading branch information
Arjan van de Ven authored and Greg Kroah-Hartman committed Jan 7, 2009
1 parent c6a204f commit e6c33e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: e64a5219296fff11a0da0322b43012265cd3b327
refs/heads/master: 8e8ce4b642ce4beb865fb1d67cd8ea883d9ae7d7
12 changes: 6 additions & 6 deletions trunk/drivers/usb/host/pci-quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ static void __devinit quirk_usb_handoff_ohci(struct pci_dev *pdev)
if (!mmio_resource_enabled(pdev, 0))
return;

base = ioremap_nocache(pci_resource_start(pdev, 0),
pci_resource_len(pdev, 0));
if (base == NULL) return;
base = pci_ioremap_bar(pdev, 0);
if (base == NULL)
return;

/* On PA-RISC, PDC can leave IR set incorrectly; ignore it there. */
#ifndef __hppa__
Expand Down Expand Up @@ -221,9 +221,9 @@ static void __devinit quirk_usb_disable_ehci(struct pci_dev *pdev)
if (!mmio_resource_enabled(pdev, 0))
return;

base = ioremap_nocache(pci_resource_start(pdev, 0),
pci_resource_len(pdev, 0));
if (base == NULL) return;
base = pci_ioremap_bar(pdev, 0);
if (base == NULL)
return;

cap_length = readb(base);
op_reg_base = base + cap_length;
Expand Down

0 comments on commit e6c33e6

Please sign in to comment.