diff options
author | Dean Luick <dean.luick@intel.com> | 2016-04-12 21:28:36 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-04-28 23:32:28 +0300 |
commit | e4e0e39c8d41d5f6cb664a34ac7b2c6388b1b523 (patch) | |
tree | 4224c649e706e201f769907bd6a8dce6f31ddf4e /tools/perf/scripts/python/check-perf-trace.py | |
parent | 90315ad86abfe2fe43a564d705a342d823c1589c (diff) | |
download | linux-e4e0e39c8d41d5f6cb664a34ac7b2c6388b1b523.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions