diff options
author | Rafael J. Wysocki <[email protected]> | 2008-07-07 03:32:52 +0200 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2008-07-07 16:25:43 -0700 |
commit | 44e4e66eeae5338b3ca0b28f8352e60bf18d5ba8 (patch) | |
tree | 27c32f382f7af839733cbdc5dedf4fc979708a05 /net/unix/sysctl_net_unix.c | |
parent | 961d9120fa6f078492a1c762dd91f2c097e56c83 (diff) |
PCI: rework pci_set_power_state function to call platform first
Rework pci_set_power_state() so that the platform callback is
invoked before the native mechanism, if necessary. Also, make
the function check if the device is power manageable by the
platform before invoking the platform callback.
This may matter if the device dependent on additional power
resources controlled by the platform is being put into D0, in which
case those power resources must be turned on before we attempt to
handle the device itself.
Signed-off-by: Rafael J. Wysocki <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions