Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f80befe0 authored by Dan Carpenter's avatar Dan Carpenter Committed by Vinod Koul
Browse files

dma/timberdale: free_irq() on an error path



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

Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 7a1cd9ad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;