diff options
| author | Frank Li <[email protected]> | 2023-10-04 14:29:11 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2023-10-09 05:42:19 +0000 |
| commit | 3fa53518ad419bfacceae046a9d8027e4c4c5290 (patch) | |
| tree | 78741d5705e70987bce7178e5e0339ac427b42f9 /tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c | |
| parent | dmaengine: stm32-dma: fix residue in case of MDMA chaining (diff) | |
| download | kernel-3fa53518ad419bfacceae046a9d8027e4c4c5290.tar.gz kernel-3fa53518ad419bfacceae046a9d8027e4c4c5290.zip | |
dmaengine: fsl-edma: fix all channels requested when call fsl_edma3_xlate()
dma_get_slave_channel() increases client_count for all channels. It should
only be called when a matched channel is found in fsl_edma3_xlate().
Move dma_get_slave_channel() after checking for a matched channel.
Cc: [email protected]
Fixes: 72f5801a4e2b ("dmaengine: fsl-edma: integrate v3 support")
Signed-off-by: Frank Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/recvmsg_unix_prog.c')
0 files changed, 0 insertions, 0 deletions
