dma/timberdale: free_irq() on an error path
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 23 Sep 2011 06:16:01 +0000 (09:16 +0300)
committerVinod Koul <vinod.koul@intel.com>
Fri, 7 Oct 2011 04:53:11 +0000 (10:23 +0530)
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>
drivers/dma/timb_dma.c

index 6dbdf45..a4a398f 100644 (file)
@@ -762,7 +762,7 @@ static int __devinit td_probe(struct platform_device *pdev)
                if ((i % 2) == pchan->rx) {
                        dev_err(&pdev->dev, "Wrong channel configuration\n");
                        err = -EINVAL;
-                       goto err_tasklet_kill;
+                       goto err_free_irq;
                }
 
                td_chan->chan.device = &td->dma;