On Friday, May 09, 2008 10:34 am Rafael J. Wysocki wrote: > > So in this case pci_choose_state would either change state or leave it > > untouched if it didn't have a better idea about things. But now that I > > look at it I'm not sure it's an improvement. :) > > Well, in principle we could go farther and introduce a wrapper around > pci_set_power_state() that will call platform_pci_choose_state() to obtain > the new state or use the driver-provided one if that fails. Hm, yeah that sounds pretty reasonable actually. Especially given that so many drivers just do: pci_set_power_state(pdev, pci_choose_state(pdev, state)); anyway... Jesse -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html