DaVinci: EDMA: Fix bug in edma_free_cont_slots API
authorSandeep Paulraj <s-paulraj@ti.com>
Wed, 16 Sep 2009 22:09:59 +0000 (18:09 -0400)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 25 Nov 2009 18:21:24 +0000 (10:21 -0800)
commit51c99e0498c637bf43fb3be786d121d8dceef337
tree3cdaeeb6bf68cc78b8f6bb4a9e15a8cdc2ba1793
parent7761ef67930dac37f90aaf0ffcd6b1f473c07dfc
DaVinci: EDMA: Fix bug in edma_free_cont_slots API

In the edma_free_cont_slots API, the variable slot was being modified
and then used in the for loop.
This results in incorrect behaviour when the API is used.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-davinci/dma.c