Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 259151
b: refs/heads/master
c: 6471fc6
h: refs/heads/master
i:
  259149: 9dfdda0
  259147: 35ddf0a
  259143: b5b2984
  259135: 69912c5
v: v3
  • Loading branch information
Kumar Gala committed Jul 8, 2011
1 parent 3329ec9 commit a7c242d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 314b02f503c2c219fde0fcf6f086fda415f8a847
refs/heads/master: 6471fc6630a507fd54fdaceceee1ddaf3c917cde
4 changes: 1 addition & 3 deletions trunk/arch/powerpc/kernel/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ int dma_set_mask(struct device *dev, u64 dma_mask)

if (ppc_md.dma_set_mask)
return ppc_md.dma_set_mask(dev, dma_mask);
if (unlikely(dma_ops == NULL))
return -EIO;
if (dma_ops->set_dma_mask != NULL)
if ((dma_ops != NULL) && (dma_ops->set_dma_mask != NULL))
return dma_ops->set_dma_mask(dev, dma_mask);
if (!dev->dma_mask || !dma_supported(dev, dma_mask))
return -EIO;
Expand Down

0 comments on commit a7c242d

Please sign in to comment.