Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145408
b: refs/heads/master
c: f47edc6
h: refs/heads/master
v: v3
  • Loading branch information
Roel Kluin authored and Li Yang committed May 22, 2009
1 parent 166de48 commit 7b88e52
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 0899d6349c60e4021224b51c8c97f49b829dfefd
refs/heads/master: f47edc6dab11801c2e97088ba7bbce042ded867c
2 changes: 1 addition & 1 deletion trunk/drivers/dma/fsldma.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ static int __devinit fsl_dma_chan_probe(struct fsl_dma_device *fdev,
new_fsl_chan->reg.end - new_fsl_chan->reg.start + 1);

new_fsl_chan->id = ((new_fsl_chan->reg.start - 0x100) & 0xfff) >> 7;
if (new_fsl_chan->id > FSL_DMA_MAX_CHANS_PER_DEVICE) {
if (new_fsl_chan->id >= FSL_DMA_MAX_CHANS_PER_DEVICE) {
dev_err(fdev->dev, "There is no %d channel!\n",
new_fsl_chan->id);
err = -EINVAL;
Expand Down

0 comments on commit 7b88e52

Please sign in to comment.