diff options
author | Marcin Niestroj <[email protected]> | 2016-12-08 15:22:58 +0100 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2016-12-30 10:52:00 +0000 |
commit | 01d1f7a99e457952aa51849ed7c1cc4ced7bca4b (patch) | |
tree | bf2b6b2629fc043833ed126e72b2f15c52acf85e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | e91c3dfcd3ff88218c972cb24f932c4d434bbb09 (diff) |
iio: bmi160: Fix time needed to sleep after command execution
Datasheet specifies typical and maximum execution times for which CMD
register is occupied after previous command execution. We took these
values as minimum and maximum time for usleep_range() call before making
a new command execution.
To be sure, that the CMD register is no longer occupied we need to wait
*at least* the maximum time specified by datasheet.
Signed-off-by: Marcin Niestroj <[email protected]>
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions