Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173319
b: refs/heads/master
c: 6b0cf4e
h: refs/heads/master
i:
  173317: 4529966
  173315: dbcf561
  173311: faa1a28
v: v3
  • Loading branch information
Sandeep Paulraj authored and Kevin Hilman committed Nov 25, 2009
1 parent c8af91e commit 72dbbf7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 51c99e0498c637bf43fb3be786d121d8dceef337
refs/heads/master: 6b0cf4e93c3212810f775967bdb2206be65eccec
5 changes: 3 additions & 2 deletions trunk/arch/arm/mach-davinci/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -771,8 +771,9 @@ int edma_alloc_cont_slots(unsigned ctlr, unsigned int id, int slot, int count)
* the number of channels and lesser than the total number
* of slots
*/
if (slot < edma_info[ctlr]->num_channels ||
slot >= edma_info[ctlr]->num_slots)
if ((id != EDMA_CONT_PARAMS_ANY) &&
(slot < edma_info[ctlr]->num_channels ||
slot >= edma_info[ctlr]->num_slots))
return -EINVAL;

/*
Expand Down

0 comments on commit 72dbbf7

Please sign in to comment.