summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
diff options
context:
space:
mode:
authorOlivier Dautricourt <olivierdautricourt@gmail.com>2024-06-08 23:31:48 +0200
committerVinod Koul <vkoul@kernel.org>2024-06-11 18:20:55 +0200
commit54e4ada1a4206f878e345ae01cf37347d803d1b1 (patch)
tree1cda40d6345f9a4f066d45861b66f84f9f0c9bf7 /Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml
parentdmaengine: altera-msgdma: cleanup after completing all descriptors (diff)
downloadlinux-54e4ada1a4206f878e345ae01cf37347d803d1b1.tar.xz
linux-54e4ada1a4206f878e345ae01cf37347d803d1b1.zip
dmaengine: altera-msgdma: properly free descriptor in msgdma_free_descriptor
Remove list_del call in msgdma_chan_desc_cleanup, this should be the role of msgdma_free_descriptor. In consequence replace list_add_tail with list_move_tail in msgdma_free_descriptor. This fixes the path: msgdma_free_chan_resources -> msgdma_free_descriptors -> msgdma_free_desc_list -> msgdma_free_descriptor which does not correctly free the descriptors as first nodes were not removed from the list. Signed-off-by: Olivier Dautricourt <olivierdautricourt@gmail.com> Tested-by: Olivier Dautricourt <olivierdautricourt@gmail.com> Link: https://lore.kernel.org/r/20240608213216.25087-3-olivierdautricourt@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/dma/st,stm32-dmamux.yaml')
0 files changed, 0 insertions, 0 deletions