IB/hfi1: Extend i2c timeout
authorDean Luick <dean.luick@intel.com>
Sun, 25 Sep 2016 14:41:25 +0000 (07:41 -0700)
committerDoug Ledford <dledford@redhat.com>
Sun, 2 Oct 2016 12:42:13 +0000 (08:42 -0400)
commitd5cf683e627ae0c4f338bf175fe4e12584acdc0f
treebeaddaf318f8c314ab5050c2d0dc78c3663792f8
parentf6aa783546460c27b0e8ed7f086a93d0b61119c7
IB/hfi1: Extend i2c timeout

Allow a longer timeout for i2c due to clock stretching and
inaccurate jiffy timing when under a spin lock.  This timeout
is consistent with other i2c-algo-bit users.

Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/hfi1/qsfp.c