diff options
author | Hariprasad Shenai <hariprasad@chelsio.com> | 2014-10-09 05:48:47 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-09 18:53:52 -0400 |
commit | 8203b509c5b7aab7a8170626ce02372c61da2cdd (patch) | |
tree | 372c801e34ee761dc51906c3aabc79e8b50ca1e5 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 897d55df3ca794ad4522472d46aa2dbbface8c37 (diff) |
cxgb4: Wait for device to get ready before reading any register
Call t4_wait_dev_ready() before attempting to read the PL_WHOAMI register
(to determine which function we have been attached to). This prevents us from
failing on that read if it comes right after a RESET.
Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions