Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 233293
b: refs/heads/master
c: 7214a8b
h: refs/heads/master
i:
  233291: 990e175
v: v3
  • Loading branch information
Sascha Hauer committed Jan 31, 2011
1 parent 11da0cd commit 1a6f2a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 7a0e9b2557902bdca563a5eb1bbac87560bd7d20
refs/heads/master: 7214a8b14f63a1603401124bc150e17b145aa476
6 changes: 3 additions & 3 deletions trunk/drivers/dma/imx-sdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -1295,6 +1295,9 @@ static int __init sdma_probe(struct platform_device *pdev)

sdma->version = pdata->sdma_version;

dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask);
dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask);

INIT_LIST_HEAD(&sdma->dma_device.channels);
/* Initialize channel parameters */
for (i = 0; i < MAX_DMA_CHANNELS; i++) {
Expand All @@ -1303,9 +1306,6 @@ static int __init sdma_probe(struct platform_device *pdev)
sdmac->sdma = sdma;
spin_lock_init(&sdmac->lock);

dma_cap_set(DMA_SLAVE, sdma->dma_device.cap_mask);
dma_cap_set(DMA_CYCLIC, sdma->dma_device.cap_mask);

sdmac->chan.device = &sdma->dma_device;
sdmac->channel = i;

Expand Down

0 comments on commit 1a6f2a1

Please sign in to comment.