diff options
author | Jon Hunter <[email protected]> | 2017-11-14 14:43:28 +0000 |
---|---|---|
committer | Lee Jones <[email protected]> | 2018-01-08 11:03:34 +0000 |
commit | d501ff903bdd735b215bded10958d8f794ca0339 (patch) | |
tree | f1a7188a67697fab4407df5915ae168d08651d1c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 572ff4d560be3784205b224cd67d6715620092d7 (diff) |
mfd: cros ec: spi: Simplify delay handling between SPI messages
The EC SPI driver prevents SPI transfers being to rapidly by keeping
track of the time the last transfer was issued via the
'last_transfer_ns' variable. Previously, if the 'last_transfer_ns'
variable was zero, this indicated that no previous transfer had been
sent and that no delay was needed. However, the EC SPI driver has
been updated to always initialise the 'last_transfer_ns' variable
during probe and therefore, it is no longer necessary to test if it
is zero. Remove the code that checks if this variable is zero.
Signed-off-by: Jon Hunter <[email protected]>
Reviewed-by: Brian Norris <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Acked-by: Benson Leung <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions