aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAntonio Borneo <[email protected]>2020-08-10 09:12:34 +0200
committerMark Brown <[email protected]>2020-08-10 19:46:41 +0100
commit135dd873d3c76d812ae64c668adef3f2c59ed27f (patch)
tree5ac6505f681a6139f4871c20fa05ff7b63e81d56 /tools/perf/scripts/python/export-to-postgresql.py
parentae1ba50f1e706dfd7ce402ac52c1f1f10becad68 (diff)
spi: stm32h7: fix race condition at end of transfer
The caller of stm32_spi_transfer_one(), spi_transfer_one_message(), is waiting for us to call spi_finalize_current_transfer() and will eventually schedule a new transfer, if available. We should guarantee that the spi controller is really available before calling spi_finalize_current_transfer(). Move the call to spi_finalize_current_transfer() _after_ the call to stm32_spi_disable(). Signed-off-by: Antonio Borneo <[email protected]> Signed-off-by: Alain Volmat <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions