Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218820
b: refs/heads/master
c: 8267f16
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer authored and Dan Williams committed Oct 22, 2010
1 parent 416e5b7 commit 04f9eea
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 42e55736f7efd7658f8826a5f441c3ccb962db74
refs/heads/master: 8267f16e8b67ea272f37f7072933dc0d3839693d
4 changes: 3 additions & 1 deletion trunk/drivers/dma/imx-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,10 @@ static int __init imxdma_probe(struct platform_device *pdev)

imxdmac->imxdma_channel = imx_dma_request_by_prio("dmaengine",
DMA_PRIO_MEDIUM);
if (imxdmac->channel < 0)
if ((int)imxdmac->channel < 0) {
ret = -ENODEV;
goto err_init;
}

imx_dma_setup_handlers(imxdmac->imxdma_channel,
imxdma_irq_handler, imxdma_err_handler, imxdmac);
Expand Down

0 comments on commit 04f9eea

Please sign in to comment.