Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130303
b: refs/heads/master
c: bcca06e
h: refs/heads/master
i:
  130301: 2323b6d
  130299: 24942ab
  130295: 40f34ee
  130287: f36ff96
  130271: 4093be6
  130239: a447147
  130175: 84f8b34
  130047: 1c6e33a
v: v3
  • Loading branch information
Alan Stern authored and Greg Kroah-Hartman committed Jan 28, 2009
1 parent 1f42488 commit 28db0b7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 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: b90de8aea36ae6fe8050a6e91b031369c4f251b2
refs/heads/master: bcca06efea883bdf3803a0bb0ffa60f26730387d
1 change: 0 additions & 1 deletion trunk/drivers/usb/core/hcd-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ int usb_hcd_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
}

pci_set_master(dev);
device_set_wakeup_enable(&dev->dev, 1);

retval = usb_add_hcd(hcd, dev->irq, IRQF_DISABLED | IRQF_SHARED);
if (retval != 0)
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/usb/host/ehci-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ static int ehci_pci_setup(struct usb_hcd *hcd)
pci_read_config_word(pdev, 0x62, &port_wake);
if (port_wake & 0x0001) {
dev_warn(&pdev->dev, "Enabling legacy PCI PM\n");
device_init_wakeup(&pdev->dev, 1);
device_set_wakeup_capable(&pdev->dev, 1);
}
}

Expand Down
8 changes: 3 additions & 5 deletions trunk/drivers/usb/host/ohci-hcd.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,12 +593,10 @@ static int ohci_run (struct ohci_hcd *ohci)
* to be checked in case boot firmware (BIOS/SMM/...) has set up
* wakeup in a way the bus isn't aware of (e.g., legacy PCI PM).
* If the bus glue detected wakeup capability then it should
* already be enabled. Either way, if wakeup should be enabled
* but isn't, we'll enable it now.
* already be enabled; if so we'll just enable it again.
*/
if ((ohci->hc_control & OHCI_CTRL_RWC) != 0
&& !device_can_wakeup(hcd->self.controller))
device_init_wakeup(hcd->self.controller, 1);
if ((ohci->hc_control & OHCI_CTRL_RWC) != 0)
device_set_wakeup_capable(hcd->self.controller, 1);

switch (ohci->hc_control & OHCI_CTRL_HCFS) {
case OHCI_USB_OPER:
Expand Down

0 comments on commit 28db0b7

Please sign in to comment.