commit | e4e0e39c8d41d5f6cb664a34ac7b2c6388b1b523 | [log] [tgz] |
---|---|---|
author | Dean Luick <dean.luick@intel.com> | Tue Apr 12 11:28:36 2016 -0700 |
committer | Doug Ledford <dledford@redhat.com> | Thu Apr 28 16:32:28 2016 -0400 |
tree | 4224c649e706e201f769907bd6a8dce6f31ddf4e | |
parent | 90315ad86abfe2fe43a564d705a342d823c1589c [diff] |
IB/hfi1: Fix double QSFP resource acquire on cache refresh The function refresh_qsfp_cache() acquires the i2c chain resource, but one caller already holds the resource. Change the acquire so all calls to refresh_qsfp_cache() are covered by the acquire and remove the acquire within refresh_qsfp_cache(). Reviewed-by: Easwar Hariharan <easwar.hariharan@intel.com> Signed-off-by: Dean Luick <dean.luick@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>