diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/dma/amba-pl08x.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index a5d85b101b89..6fbeebb9486f 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c | |||
@@ -1117,6 +1117,8 @@ static int pl08x_alloc_chan_resources(struct dma_chan *chan) | |||
1117 | 1117 | ||
1118 | static void pl08x_free_chan_resources(struct dma_chan *chan) | 1118 | static void pl08x_free_chan_resources(struct dma_chan *chan) |
1119 | { | 1119 | { |
1120 | /* Ensure all queued descriptors are freed */ | ||
1121 | vchan_free_chan_resources(to_virt_chan(chan)); | ||
1120 | } | 1122 | } |
1121 | 1123 | ||
1122 | static struct dma_async_tx_descriptor *pl08x_prep_dma_interrupt( | 1124 | static struct dma_async_tx_descriptor *pl08x_prep_dma_interrupt( |