Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297488
b: refs/heads/master
c: b78bd91
h: refs/heads/master
v: v3
  • Loading branch information
Richard Zhao authored and Vinod Koul committed Jan 31, 2012
1 parent 712946a commit 6930774
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: c2c744d3aa48f845626131176772bae2a3c9d5bc
refs/heads/master: b78bd91f47b28ba1290a7eb95d8cf48a357e1b90
2 changes: 1 addition & 1 deletion trunk/drivers/dma/imx-sdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ static int sdma_config_channel(struct sdma_channel *sdmac)
sdmac->per_addr = 0;

if (sdmac->event_id0) {
if (sdmac->event_id0 > 32)
if (sdmac->event_id0 >= sdmac->sdma->num_events)
return -EINVAL;
sdma_event_enable(sdmac, sdmac->event_id0);
}
Expand Down

0 comments on commit 6930774

Please sign in to comment.