Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 286140
b: refs/heads/master
c: 2a0ff7a
h: refs/heads/master
v: v3
  • Loading branch information
Adrian Hunter authored and Vinod Koul committed Dec 23, 2011
1 parent eefa531 commit ae081a9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1fded07513ea57b5ee128958ff119e05588b7227
refs/heads/master: 2a0ff7a602714990b10a8749e908dad48401138e
6 changes: 5 additions & 1 deletion trunk/drivers/dma/intel_mid_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1104,7 +1104,8 @@ static int mid_setup_dma(struct pci_dev *pdev)
LNW_PERIPHRAL_MASK_SIZE);
if (dma->mask_reg == NULL) {
pr_err("ERR_MDMA:Can't map periphral intr space !!\n");
return -ENOMEM;
err = -ENOMEM;
goto err_ioremap;
}
} else
dma->mask_reg = NULL;
Expand Down Expand Up @@ -1201,6 +1202,9 @@ static int mid_setup_dma(struct pci_dev *pdev)
err_engine:
free_irq(pdev->irq, dma);
err_irq:
if (dma->mask_reg)
iounmap(dma->mask_reg);
err_ioremap:
pci_pool_destroy(dma->dma_pool);
err_dma_pool:
pr_err("ERR_MDMA:setup_dma failed: %d\n", err);
Expand Down

0 comments on commit ae081a9

Please sign in to comment.