Re: [PATCH] PCI / PM: Fix messages printed by acpi_pci_set_power_state()

2012-07-25 Thread Alan Stern
On Wed, 25 Jul 2012, Rafael J. Wysocki wrote: > > If a PCI device is put into D3_cold by acpi_bus_set_power(), > the message printed by acpi_pci_set_power_state() says that its > power state has been changed to D4, which doesn't make sense. > In turn, if the device is put into D3_hot, the message

[PATCH] PCI / PM: Fix messages printed by acpi_pci_set_power_state()

2012-07-25 Thread Rafael J. Wysocki
If a PCI device is put into D3_cold by acpi_bus_set_power(), the message printed by acpi_pci_set_power_state() says that its power state has been changed to D4, which doesn't make sense. In turn, if the device is put into D3_hot, the message says just "D3" without specifying which variant of D3 it