diff options
author | David Hendricks <[email protected]> | 2014-04-30 10:44:04 -0700 |
---|---|---|
committer | Lee Jones <[email protected]> | 2014-06-03 08:11:46 +0100 |
commit | 1fe368665b1499041919d78467147849989af7c9 (patch) | |
tree | fc52e60331f7072b6c45790cfcb976f7129a324b /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d1cb4cc9051110a0d4f6261e2e8e90398166a4c5 (diff) |
mfd: cros_ec: spi: Calculate delay between transfers correctly
To avoid spamming the EC we calculate the time between the previous
transfer and the current transfer and force a delay if the time delta
is too small.
However, a small miscalculation causes the delay period to be
far too short. Most noticably this impacts commands with a long
turnaround time such as EC firmware reads and writes.
Signed-off-by: David Hendricks <[email protected]>
Signed-off-by: Doug Anderson <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Andrew Bresticker <[email protected]>
Tested-by: Stephen Warren <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions