Commit f80befe081576219379debf6611f02c9f3b01c41

Authored by Dan Carpenter
Committed by Vinod Koul
1 parent 7a1cd9ad87

dma/timberdale: free_irq() on an error path

There was an error path that skipped the free_irq() step by mistake.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

drivers/dma/timb_dma.c
... ... @@ -762,7 +762,7 @@
762 762 if ((i % 2) == pchan->rx) {
763 763 dev_err(&pdev->dev, "Wrong channel configuration\n");
764 764 err = -EINVAL;
765   - goto err_tasklet_kill;
  765 + goto err_free_irq;
766 766 }
767 767  
768 768 td_chan->chan.device = &td->dma;