diff options
author | Per Forlin <per.forlin@linaro.org> | 2011-08-29 13:33:35 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2011-09-05 17:11:38 +0530 |
commit | 503473ac2a3952e6af254b0769fe788a67d797e5 (patch) | |
tree | 9b089ea8636b3a8b26a9534b7e1ccf1790c093aa /drivers/dma/amba-pl08x.c | |
parent | 70a207ad4db2f0c60308b3f32086263c438c67a3 (diff) | |
download | lwn-503473ac2a3952e6af254b0769fe788a67d797e5.tar.gz lwn-503473ac2a3952e6af254b0769fe788a67d797e5.zip |
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().
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>
Diffstat (limited to 'drivers/dma/amba-pl08x.c')
0 files changed, 0 insertions, 0 deletions