• R
    PCI PM: Fix pci_update_current_state · f06fc0b6
    Rafael J. Wysocki 提交于
    Currently, PCI devices without the PM capability that are power
    manageable by the platform (eg. ACPI) are not handled correctly
    by pci_set_power_state(), because their current_state field is not
    updated to reflect the new power state of the device.  Fix this by
    making pci_update_current_state() accept additional argument
    representing the power state of the device as set by the platform.
    Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
    Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
    f06fc0b6
pci.c 60.9 KB