ChangeSet 1.1642, 2004/05/14 12:19:20-07:00, [EMAIL PROTECTED]
[PATCH] USB: hcd-pci suspend tweak
I needed this to get an APM + UHCI config to behave on resume.
Applies against your BK of last night ... OHCI and EHCI do
some of this manually, they could be simplified later.
drivers/usb/core/hcd-pci.c | 2 ++
1 files changed, 2 insertions(+)
diff -Nru a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
--- a/drivers/usb/core/hcd-pci.c Fri May 14 15:27:04 2004
+++ b/drivers/usb/core/hcd-pci.c Fri May 14 15:27:04 2004
@@ -318,6 +318,7 @@
if (has_pci_pm)
retval = pci_set_power_state (dev, state);
+ dev->dev.power.power_state = state;
if (retval < 0) {
dev_dbg (&dev->dev,
"PCI suspend fail, %d\n",
@@ -357,6 +358,7 @@
if (has_pci_pm)
pci_set_power_state (dev, 0);
+ dev->dev.power.power_state = 0;
retval = request_irq (dev->irq, usb_hcd_irq, SA_SHIRQ,
hcd->description, hcd);
if (retval < 0) {
-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel