shpchp: fix shpchp_wait_cmd in poll
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Fri, 22 Sep 2006 19:52:37 +0000 (12:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 Oct 2006 18:36:10 +0000 (11:36 -0700)
commitb4a1efffcf8070dbc7734f27da10ce49fb9f2a34
tree2b8d9d3a8539ec33c586941a1270c7c4df819e5a
parent73ed9a86cd77b6a3b46beec8d353ac3b0d4f50c1
shpchp: fix shpchp_wait_cmd in poll

This patch fixes the problem that issuing SHPC command in poll mode
always fails with the following message.

        shpchp: Command not completed in 2000 msec

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/shpchp_hpc.c