summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-01-24 00:49:46 +0300
committerMark Brown <broonie@kernel.org>2024-01-24 19:13:38 +0300
commitb204aa0f99cfe3c9d796ecfc0bc6f3f89585789e (patch)
tree69927413ee63abc7de8bea87059692ecb8d8e636 /tools/perf/scripts/python/export-to-sqlite.py
parent18ab9e9e8889ecba23a5e8b7f8924f09284e33d8 (diff)
downloadlinux-b204aa0f99cfe3c9d796ecfc0bc6f3f89585789e.tar.xz
spi: consolidate setting message->spi
Previously, __spi_sync() and __spi_async() set message->spi to the spi device independently after calling __spi_validate(). __spi_validate() also would conditionally set this if it needed to split the message since it wasn't set yet. Since both __spi_sync() and __spi_async() call __spi_validate(), we can consolidate this into only setting message->spi once (unconditionally) in __spi_validate(). This will also save any future callers of __spi_validate() from also needing to set message->spi. Signed-off-by: David Lechner <dlechner@baylibre.com> Link: https://msgid.link/r/20240123214946.2616786-1-dlechner@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions