diff options
-rw-r--r-- | drivers/dma/ste_dma40.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index e5a284865e92..68aca3334a17 100644 --- a/drivers/dma/ste_dma40.c +++ b/drivers/dma/ste_dma40.c | |||
@@ -2616,7 +2616,7 @@ static void d40_issue_pending(struct dma_chan *chan) | |||
2616 | spin_unlock_irqrestore(&d40c->lock, flags); | 2616 | spin_unlock_irqrestore(&d40c->lock, flags); |
2617 | } | 2617 | } |
2618 | 2618 | ||
2619 | static void d40_terminate_all(struct dma_chan *chan) | 2619 | static int d40_terminate_all(struct dma_chan *chan) |
2620 | { | 2620 | { |
2621 | unsigned long flags; | 2621 | unsigned long flags; |
2622 | struct d40_chan *d40c = container_of(chan, struct d40_chan, chan); | 2622 | struct d40_chan *d40c = container_of(chan, struct d40_chan, chan); |
@@ -2644,6 +2644,7 @@ static void d40_terminate_all(struct dma_chan *chan) | |||
2644 | d40c->busy = false; | 2644 | d40c->busy = false; |
2645 | 2645 | ||
2646 | spin_unlock_irqrestore(&d40c->lock, flags); | 2646 | spin_unlock_irqrestore(&d40c->lock, flags); |
2647 | return 0; | ||
2647 | } | 2648 | } |
2648 | 2649 | ||
2649 | static int | 2650 | static int |