diff options
| -rw-r--r-- | drivers/dma/bcm2835-dma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/bcm2835-dma.c b/drivers/dma/bcm2835-dma.c index 0723096fb50a..c92d6a70ccf3 100644 --- a/drivers/dma/bcm2835-dma.c +++ b/drivers/dma/bcm2835-dma.c | |||
| @@ -475,6 +475,7 @@ static int bcm2835_dma_terminate_all(struct dma_chan *chan) | |||
| 475 | * c->desc is NULL and exit.) | 475 | * c->desc is NULL and exit.) |
| 476 | */ | 476 | */ |
| 477 | if (c->desc) { | 477 | if (c->desc) { |
| 478 | bcm2835_dma_desc_free(&c->desc->vd); | ||
| 478 | c->desc = NULL; | 479 | c->desc = NULL; |
| 479 | bcm2835_dma_abort(c->chan_base); | 480 | bcm2835_dma_abort(c->chan_base); |
| 480 | 481 | ||
