diff options
-rw-r--r-- | drivers/dma/mv_xor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index ac71f555dd72..cc5d23d3addd 100644 --- a/drivers/dma/mv_xor.c +++ b/drivers/dma/mv_xor.c | |||
@@ -1361,9 +1361,9 @@ static int mv_xor_probe(struct platform_device *pdev) | |||
1361 | err_channel_add: | 1361 | err_channel_add: |
1362 | for (i = 0; i < MV_XOR_MAX_CHANNELS; i++) | 1362 | for (i = 0; i < MV_XOR_MAX_CHANNELS; i++) |
1363 | if (xordev->channels[i]) { | 1363 | if (xordev->channels[i]) { |
1364 | mv_xor_channel_remove(xordev->channels[i]); | ||
1364 | if (pdev->dev.of_node) | 1365 | if (pdev->dev.of_node) |
1365 | irq_dispose_mapping(xordev->channels[i]->irq); | 1366 | irq_dispose_mapping(xordev->channels[i]->irq); |
1366 | mv_xor_channel_remove(xordev->channels[i]); | ||
1367 | } | 1367 | } |
1368 | 1368 | ||
1369 | clk_disable_unprepare(xordev->clk); | 1369 | clk_disable_unprepare(xordev->clk); |