summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-07-23 13:36:47 -0500
committerMark Brown <broonie@kernel.org>2024-07-29 01:23:21 +0100
commitf8918ef1267edab4d9b2154c22a912c87cc66f66 (patch)
tree8623fbdc1dbf213f9f2cbc240ae86ed00a29b628 /tools/perf/scripts/python/gecko.py
parent8400291e289ee6b2bf9779ff1c83a291501f017b (diff)
spi: axi-spi-engine: don't emit XFER_BITS for empty xfer
This adds a check on xfer->len to avoid emitting an XFER_BITS instruction for empty transfers in the AXI SPI Engine driver. This avoids unnecessary delays caused by executing an instruction that has no effect on the actual SPI transfer. Signed-off-by: David Lechner <dlechner@baylibre.com> Reviewed-by: Nuno Sa <nuno.sa@analog.com> Link: https://patch.msgid.link/20240723-spi-axi-spi-engine-opt-bpw-v1-1-2625ba4c4387@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions