summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/chip.c
diff options
context:
space:
mode:
authorDean Luick2015-10-26 15:28:29 +0100
committerGreg Kroah-Hartman2015-10-27 09:16:54 +0100
commitdc060245a234d7ab1228e25e584208bd9489594c (patch)
treef2324d6730700d8f0629e7c88a36cdd5fd3b301b /drivers/staging/rdma/hfi1/chip.c
parentstaging/rdma/hfi1: Fix code to reset ASIC CSRs on FLR (diff)
downloadkernel-qcow2-linux-dc060245a234d7ab1228e25e584208bd9489594c.tar.gz
kernel-qcow2-linux-dc060245a234d7ab1228e25e584208bd9489594c.tar.xz
kernel-qcow2-linux-dc060245a234d7ab1228e25e584208bd9489594c.zip
staging/rdma/hfi1: Extend the offline timeout
The latest version of the 8051 firmware will wait longer when bringing the link down. Extend the driver's timeout to go with that. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rdma/hfi1/chip.c')
-rw-r--r--drivers/staging/rdma/hfi1/chip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/chip.c b/drivers/staging/rdma/hfi1/chip.c
index 71921cabe15a..1747ab6410a9 100644
--- a/drivers/staging/rdma/hfi1/chip.c
+++ b/drivers/staging/rdma/hfi1/chip.c
@@ -6203,7 +6203,7 @@ static int goto_offline(struct hfi1_pportdata *ppd, u8 rem_reason)
if (do_wait) {
/* it can take a while for the link to go down */
- ret = wait_phy_linkstate(dd, PLS_OFFLINE, 5000);
+ ret = wait_phy_linkstate(dd, PLS_OFFLINE, 10000);
if (ret < 0)
return ret;
}