diff options
| -rw-r--r-- | drivers/dma/omap-dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/omap-dma.c b/drivers/dma/omap-dma.c index 7dd6dd121681..167dbaf65742 100644 --- a/drivers/dma/omap-dma.c +++ b/drivers/dma/omap-dma.c | |||
| @@ -981,6 +981,7 @@ static int omap_dma_terminate_all(struct dma_chan *chan) | |||
| 981 | * c->desc is NULL and exit.) | 981 | * c->desc is NULL and exit.) |
| 982 | */ | 982 | */ |
| 983 | if (c->desc) { | 983 | if (c->desc) { |
| 984 | omap_dma_desc_free(&c->desc->vd); | ||
| 984 | c->desc = NULL; | 985 | c->desc = NULL; |
| 985 | /* Avoid stopping the dma twice */ | 986 | /* Avoid stopping the dma twice */ |
| 986 | if (!c->paused) | 987 | if (!c->paused) |
