diff options
author | Per Forlin <per.forlin@linaro.org> | 2011-08-29 13:33:35 +0200 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-10-24 11:32:12 +0200 |
commit | 6eaad6cd7669151bda6c080c3f736df726b33bc6 (patch) | |
tree | 6011ba636d3fe074f3b129c09ab0ee8def64eff2 /arch | |
parent | 63662563b36bf493c540a84bea7ddd64aa9b3be7 (diff) |
dmaengine/ste_dma40: fix memory leak due to prepared descriptors
Prepared descriptors that are not submitted will not be freed. Add
prepared descriptor to a list to be able to release them upon
dmaengine_terminate_all().
ST-Ericsson ID: 362972
ST-Ericsson FOSS-OUT ID: NA
ST-Ericsson Linux next: NA
Change-Id: I93bb2bd072851c435c0dcf0a50deab63d9c1b735
Signed-off-by: Per Forlin <per.forlin@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/34968
Tested-by: Narayanan GOPALAKRISHNAN <narayanan.gopalakrishnan@stericsson.com>
Reviewed-by: Per FORLIN <per.forlin@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions