Messages in this thread | | | Date | Mon, 4 Aug 2003 23:27:25 +0200 | From | Pavel Machek <> | Subject | Re: Do not suspend PCI devices twice [PATCH for testing] |
| |
Hi!
> PCI devices are suspendend twice; once using pm_send_all() and once > because of driver model (when using ACPI). That's bad. > > If I kill pm_send_all() hook, they will not be suspended at all with > APM, because APM does not call device_suspend(..., > SUSPEND_SAVE_STATE). This patch fixes both of these. > > Ouch, no it does not. You should > drivers/pci/power.c. Its no longer > needed. > > It compiles, and I'd like someone to test it ;-).
Oops, wrong patch attached.
-- When do you have a heart between your knees? [Johanka's followup: and *two* hearts?] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |