pci: hotplug: pciehp: fix error code path in hpc_power_off_slot
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 4 Mar 2008 21:01:14 +0000 (13:01 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Mar 2008 23:07:04 +0000 (15:07 -0800)
commitc1ef5cbd03921047c2eafb998132e562043678a7
treed9f872a179aace8fff93c121c3fdcd484f86d3b0
parent90a1ba0c5e39eeea278f263c28ae02166c5911c8
pci: hotplug: pciehp: fix error code path in hpc_power_off_slot

Fix the error code path in hpc_power_off_slot().

The Bad DLLP Mask bit must be restored before return.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/pciehp_hpc.c