PCI: pciehp: prevent unnecessary power off
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Mon, 5 Oct 2009 08:46:43 +0000 (17:46 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 4 Nov 2009 17:02:35 +0000 (09:02 -0800)
commit8792e11f1c54bcba34412f03959e70ee217f2231
treeaa81ae55e49567231b7899b40beb72a64e470e00
parent65b947bc5f32d8d4fe1f925a6146a4088d5466f3
PCI: pciehp: prevent unnecessary power off

Prevent unnecessary power off at initialization time. If slot power
is already off, we don't need to power off the slot.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/hotplug/pciehp_core.c