diff options
| author | Amelie Delaunay <amelie.delaunay@foss.st.com> | 2025-11-21 14:36:57 +0100 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2025-12-16 21:36:31 +0530 |
| commit | d26eb4a75a4a2bbf27305e62ad82cedf5f8c577c (patch) | |
| tree | 806557d0e1779646a3e68339bcbe9a214d7a7cc6 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 0d41ed4ea496fabbb4dc21171e32d9a924c2a661 (diff) | |
| download | linux-d26eb4a75a4a2bbf27305e62ad82cedf5f8c577c.tar.gz linux-d26eb4a75a4a2bbf27305e62ad82cedf5f8c577c.zip | |
dmaengine: stm32-dma3: introduce channel semaphore helpers
Before restoring semaphore status after suspend, introduce new functions
to handle semaphore operations :
- stm32_dma3_get_chan_sem() to take the semaphore
- stm32_dma3_put_chan_sem() to release the semaphore
Also, use a new boolean variable semaphore_taken, which is true when the
semaphore has been taken and false when it has been released.
Signed-off-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://patch.msgid.link/20251121-dma3_improv-v2-2-76a207b13ea6@foss.st.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
