summaryrefslogtreecommitdiffstats
path: root/drivers/dma/timb_dma.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2011-09-23 09:16:01 +0300
committerVinod Koul <vinod.koul@intel.com>2011-10-07 10:23:11 +0530
commitf80befe081576219379debf6611f02c9f3b01c41 (patch)
treeee6425bc5a4a206874ec44916c14af86d49fa5bf /drivers/dma/timb_dma.c
parent7a1cd9ad87979744e1510782b25c38feb9602739 (diff)
downloadop-kernel-dev-f80befe081576219379debf6611f02c9f3b01c41.zip
op-kernel-dev-f80befe081576219379debf6611f02c9f3b01c41.tar.gz
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>
Diffstat (limited to 'drivers/dma/timb_dma.c')
-rw-r--r--drivers/dma/timb_dma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c
index 6dbdf45..a4a398f 100644
--- a/drivers/dma/timb_dma.c
+++ b/drivers/dma/timb_dma.c
@@ -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;
OpenPOWER on IntegriCloud