summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAmelie Delaunay <amelie.delaunay@foss.st.com>2025-11-21 16:36:57 +0300
committerVinod Koul <vkoul@kernel.org>2025-12-16 19:06:31 +0300
commitd26eb4a75a4a2bbf27305e62ad82cedf5f8c577c (patch)
tree806557d0e1779646a3e68339bcbe9a214d7a7cc6 /scripts
parent0d41ed4ea496fabbb4dc21171e32d9a924c2a661 (diff)
downloadlinux-d26eb4a75a4a2bbf27305e62ad82cedf5f8c577c.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions