diff options
author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2015-09-15 15:38:24 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-10-01 04:00:56 +0200 |
commit | 62b5cb757f1d6c875293958535952dd38ff9e675 (patch) | |
tree | e050298e04d5e4873b4a0064790a1e42199932cc /drivers/dma/fsldma.c | |
parent | dmaengine: at_xdmac: handle numf > 1 (diff) | |
download | linux-62b5cb757f1d6c875293958535952dd38ff9e675.tar.xz linux-62b5cb757f1d6c875293958535952dd38ff9e675.zip |
dmaengine: at_xdmac: fix memory leak in interleaved mode
In interleaved mode, when numf > 1, we have only one descriptor for the
transfer but this descriptor has to be added to the descs_list. If not,
when doing remove_xfer, the descriptor won't be put back in the
free_descs_list.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/fsldma.c')
0 files changed, 0 insertions, 0 deletions