Re: Do not suspend PCI devices twice [PATCH for testing]
Pavel Machek <[email protected]> Mon, 4 Aug 2003 23:27:25 +0200
| Newsgroups | org.kernel.vger.linux-laptop,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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?]