commit | 62b5cb757f1d6c875293958535952dd38ff9e675 | [log] [tgz] |
---|---|---|
author | Ludovic Desroches <ludovic.desroches@atmel.com> | Tue Sep 15 15:38:24 2015 +0200 |
committer | Vinod Koul <vinod.koul@intel.com> | Thu Oct 01 07:30:56 2015 +0530 |
tree | e050298e04d5e4873b4a0064790a1e42199932cc | |
parent | 4e5385784e69e448efca0998aa188404d5e8d313 [diff] |
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>