diff options
author | Joy Zou <joy.zou@nxp.com> | 2024-07-01 10:02:31 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2024-08-29 20:20:48 +0300 |
commit | 90d21f6e57a898ef02810404dd3866acaf707ebf (patch) | |
tree | a699ba9a843a139c24e6b18d8f2c5667e3d79c2d /rust/helpers/helpers.c | |
parent | ae04342b5264fcf90a288a984a69ffb9e93904a7 (diff) | |
download | linux-90d21f6e57a898ef02810404dd3866acaf707ebf.tar.xz |
dmaengine: fsl-edma: change to guard(mutex) within fsl_edma3_xlate()
Introduce a scope guard to automatically unlock the mutex within
fsl_edma3_xlate() to simplify the code.
Prepare to add source ID checks in the future.
Signed-off-by: Joy Zou <joy.zou@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20240701070232.2519179-2-joy.zou@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions