Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358555
b: refs/heads/master
c: 877e86f
h: refs/heads/master
i:
  358553: 8aaf2d5
  358551: 2d7bd23
v: v3
  • Loading branch information
Andy Shevchenko authored and Vinod Koul committed Feb 14, 2013
1 parent 60a9bc8 commit ddaa300
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a20702b8d7c2b54a618e203d94b37b4f1d21bbd4
refs/heads/master: 877e86f28385407f05c5aa4e397d4ccb3233f01a
6 changes: 6 additions & 0 deletions trunk/drivers/dma/dw_dmac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1661,6 +1661,12 @@ static int dw_probe(struct platform_device *pdev)
if (!regs)
return -EBUSY;

/* Apply default dma_mask if needed */
if (!pdev->dev.dma_mask) {
pdev->dev.dma_mask = &pdev->dev.coherent_dma_mask;
pdev->dev.coherent_dma_mask = DMA_BIT_MASK(32);
}

dw_params = dma_read_byaddr(regs, DW_PARAMS);
autocfg = dw_params >> DW_PARAMS_EN & 0x1;

Expand Down

0 comments on commit ddaa300

Please sign in to comment.