Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173318
b: refs/heads/master
c: 51c99e0
h: refs/heads/master
v: v3
  • Loading branch information
Sandeep Paulraj authored and Kevin Hilman committed Nov 25, 2009
1 parent 4529966 commit c8af91e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 7761ef67930dac37f90aaf0ffcd6b1f473c07dfc
refs/heads/master: 51c99e0498c637bf43fb3be786d121d8dceef337
8 changes: 4 additions & 4 deletions trunk/arch/arm/mach-davinci/dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ EXPORT_SYMBOL(edma_alloc_cont_slots);
*/
int edma_free_cont_slots(unsigned slot, int count)
{
unsigned ctlr;
unsigned ctlr, slot_to_free;
int i;

ctlr = EDMA_CTLR(slot);
Expand All @@ -826,11 +826,11 @@ int edma_free_cont_slots(unsigned slot, int count)

for (i = slot; i < slot + count; ++i) {
ctlr = EDMA_CTLR(i);
slot = EDMA_CHAN_SLOT(i);
slot_to_free = EDMA_CHAN_SLOT(i);

memcpy_toio(edmacc_regs_base[ctlr] + PARM_OFFSET(slot),
memcpy_toio(edmacc_regs_base[ctlr] + PARM_OFFSET(slot_to_free),
&dummy_paramset, PARM_SIZE);
clear_bit(slot, edma_info[ctlr]->edma_inuse);
clear_bit(slot_to_free, edma_info[ctlr]->edma_inuse);
}

return 0;
Expand Down

0 comments on commit c8af91e

Please sign in to comment.