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>
This commit is contained in:
Dan Carpenter 2011-09-23 09:16:01 +03:00 committed by Vinod Koul
parent 7a1cd9ad87
commit f80befe081
1 changed files with 1 additions and 1 deletions

View 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;