diff options
author | 2023-10-04 10:29:11 -0400 | |
---|---|---|
committer | 2023-10-09 11:12:19 +0530 | |
commit | 3fa53518ad419bfacceae046a9d8027e4c4c5290 (patch) | |
tree | 78741d5705e70987bce7178e5e0339ac427b42f9 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: stm32-dma: fix residue in case of MDMA chaining (diff) | |
download | wireguard-linux-3fa53518ad419bfacceae046a9d8027e4c4c5290.tar.xz wireguard-linux-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: stable@vger.kernel.org
Fixes: 72f5801a4e2b ("dmaengine: fsl-edma: integrate v3 support")
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20231004142911.838916-1-Frank.Li@nxp.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