Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183213
b: refs/heads/master
c: 2d51750
h: refs/heads/master
i:
  183211: 16a54c4
v: v3
  • Loading branch information
Sudhakar Rajashekhara authored and Kevin Hilman committed Feb 4, 2010
1 parent 17a4bf1 commit fc900a5
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 0e6cb8d296308a75e4047fabc752731ff7836182
refs/heads/master: 2d517508060c22ef371a61495773cf890def291a
4 changes: 3 additions & 1 deletion trunk/arch/arm/mach-davinci/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ struct edma {
};

static struct edma *edma_info[EDMA_MAX_CC];
static int arch_num_cc;

/* dummy param set used to (re)initialize parameter RAM slots */
static const struct edmacc_param dummy_paramset = {
Expand Down Expand Up @@ -602,7 +603,7 @@ int edma_alloc_channel(int channel,
}

if (channel < 0) {
for (i = 0; i < EDMA_MAX_CC; i++) {
for (i = 0; i < arch_num_cc; i++) {
channel = 0;
for (;;) {
channel = find_next_bit(edma_info[i]->
Expand Down Expand Up @@ -1467,6 +1468,7 @@ static int __init edma_probe(struct platform_device *pdev)
edma_write_array2(j, EDMA_DRAE, i, 1, 0x0);
edma_write_array(j, EDMA_QRAE, i, 0x0);
}
arch_num_cc++;
}

if (tc_errs_handled) {
Expand Down

0 comments on commit fc900a5

Please sign in to comment.