diff options
| author | 2025-11-21 14:36:57 +0100 | |
|---|---|---|
| committer | 2025-12-16 21:36:31 +0530 | |
| commit | d26eb4a75a4a2bbf27305e62ad82cedf5f8c577c (patch) | |
| tree | 806557d0e1779646a3e68339bcbe9a214d7a7cc6 /tools/perf/scripts/python | |
| parent | dmaengine: stm32-dma3: use module_platform_driver (diff) | |
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')
0 files changed, 0 insertions, 0 deletions
