]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
acpiphp: fix latch status
authorMUNEDA Takahiro <muneda.takahiro@jp.fujitsu.com>
Wed, 25 Oct 2006 18:44:57 +0000 (11:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Oct 2006 18:20:32 +0000 (11:20 -0700)
commit35ae61a0f43ebbabc3cb4345136ca529fc4d6700
tree66b3585d9fe9e395cba9c27118788c49fb9e6550
parente80391500078b524083ba51c3df01bbaaecc94bb
acpiphp: fix latch status

pci_hotplug.h says:

 * @latch_status: if the latch (if any) is open or closed (1/0)

However, acpiphp returns opposite value.
This patch fixes this issue.

I tested this patch on my ia64 machine that has some apciphp based
hotplug slots.

Signed-off-by: MUNEDA Takahiro <muneda.takahiro@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/acpiphp_glue.c