]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
pciehp - fix wrong return value
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Wed, 20 Sep 2006 00:04:33 +0000 (17:04 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 00:43:54 +0000 (17:43 -0700)
commitc9d86d76c1cdd76d67292ab75643db66573ca7dd
tree29c781cce06b90472cccc3e2cc6668bcb13d9e0b
parentaa4f63cad4f70a52adbabb66ac6c8b6072910fdf
pciehp - fix wrong return value

This patch fixes the problem that trying to enable already enabled
slot disables the slot by returning the proper value from
pciehp_enable_slot()/pciehp_disable_slot().

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_ctrl.c