PCI: pciehp: fix unexpected power off with pciehp_force
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Mon, 8 Dec 2008 05:30:24 +0000 (14:30 +0900)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 16 Dec 2008 21:26:46 +0000 (13:26 -0800)
commitdb9aaf0bf19886114935152996edd9c6683b741c
tree789bdbc23345c16dcf43c05d9e0987bf92065d07
parentb0b801dd7de3d77bb143d3c98199b487df0fc63a
PCI: pciehp: fix unexpected power off with pciehp_force

This patch fixes the problem that causes an occupied slot to be turned
off even if it has a working device.

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