Skip to content

Commit ccdb6be

Browse files
AlanSternbjorn-helgaas
authored andcommitted
USB: UHCI: report non-PME wakeup signalling for Intel hardware
The UHCI controllers in Intel chipsets rely on a platform-specific non-PME mechanism for wakeup signalling. They can generate wakeup signals even though they don't support PME. We need to let the USB core know this so that it will enable runtime suspend for UHCI controllers. Signed-off-by: Alan Stern <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> CC: [email protected]
1 parent 6496ebd commit ccdb6be

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/usb/host/uhci-pci.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@ static int uhci_pci_init(struct usb_hcd *hcd)
129129
if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_HP)
130130
uhci->wait_for_hp = 1;
131131

132+
/* Intel controllers use non-PME wakeup signalling */
133+
if (to_pci_dev(uhci_dev(uhci))->vendor == PCI_VENDOR_ID_INTEL)
134+
device_set_run_wake(uhci_dev(uhci), 1);
135+
132136
/* Set up pointers to PCI-specific functions */
133137
uhci->reset_hc = uhci_pci_reset_hc;
134138
uhci->check_and_reset_hc = uhci_pci_check_and_reset_hc;

0 commit comments

Comments
 (0)