aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorDean Luick <dean.luick@intel.com>2016-03-05 08:50:22 -0800
committerDoug Ledford <dledford@redhat.com>2016-03-17 15:55:16 -0400
commitb0506f4c56d66f4a8413eaeb57212cf8166e30e9 (patch)
treec7de33f25ee969a9c4eb0b232b0b493242420f45 /drivers/staging
parentIB/hfi1: Remove unused HFI1_DO_INIT_ASIC flag (diff)
downloadlinux-dev-b0506f4c56d66f4a8413eaeb57212cf8166e30e9.tar.xz
linux-dev-b0506f4c56d66f4a8413eaeb57212cf8166e30e9.zip
IB/hfi1: Reduce hardware mutex timeout
The hardware mutex is now held only long enough to set or clear flags. Reduce the timeout to something more reasonable. Reviewed-by: Mitko Haralanov <mitko.haralanov@intel.com> Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Jubin John <jubin.john@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rdma/hfi1/firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rdma/hfi1/firmware.c b/drivers/staging/rdma/hfi1/firmware.c
index 1ea1ad84c784..3040162cb326 100644
--- a/drivers/staging/rdma/hfi1/firmware.c
+++ b/drivers/staging/rdma/hfi1/firmware.c
@@ -198,7 +198,7 @@ static const struct firmware *platform_config;
#define RSA_ENGINE_TIMEOUT 100 /* ms */
/* hardware mutex timeout, in ms */
-#define HM_TIMEOUT 4000 /* 4 s */
+#define HM_TIMEOUT 10 /* ms */
/* 8051 memory access timeout, in us */
#define DC8051_ACCESS_TIMEOUT 100 /* us */