aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Lechner <dlechner@baylibre.com>2024-01-23 15:49:46 -0600
committerMark Brown <broonie@kernel.org>2024-01-24 16:13:38 +0000
commitb204aa0f99cfe3c9d796ecfc0bc6f3f89585789e (patch)
tree69927413ee63abc7de8bea87059692ecb8d8e636 /tools/perf/scripts/python/export-to-postgresql.py
parentdt-bindings: spi: nxp-fspi: support i.MX93 and i.MX95 (diff)
downloadwireguard-linux-b204aa0f99cfe3c9d796ecfc0bc6f3f89585789e.tar.xz
wireguard-linux-b204aa0f99cfe3c9d796ecfc0bc6f3f89585789e.zip
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-postgresql.py')
0 files changed, 0 insertions, 0 deletions