summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b520937)
raw | patch | inline | side by side (parent: b520937)
author | Sundaram Raju <sundaram@ti.com> | |
Fri, 28 May 2010 06:11:39 +0000 (11:41 +0530) | ||
committer | Sundaram Raju <sundaram@ti.com> | |
Thu, 15 Jul 2010 12:33:43 +0000 (18:03 +0530) |
- When trying to request more contiguous resources than available assert is called
- Refer to IR# SDOCM00063765 for more details
Signed-off-by: Sundaram Raju <sundaram@ti.com>
- Refer to IR# SDOCM00063765 for more details
Signed-off-by: Sundaram Raju <sundaram@ti.com>
packages/ti/sdo/edma3/rm/src/edma3resmgr.c | patch | blob | history |
diff --git a/packages/ti/sdo/edma3/rm/src/edma3resmgr.c b/packages/ti/sdo/edma3/rm/src/edma3resmgr.c
index 0bf341da09f641473cdf89391bbb3780964636d8..ea0f53386440483e303746c94de90daa0c426661 100755 (executable)
* Step d) If result < N, do the whole process again untill you
* reach end. Else you have found enough resources, return success.
*/
- while((found == 0) && (((end-start)+1u) >= numResources))
+ while((found == 0) && (start<=end) && (((end-start)+1u) >= numResources))
{
/* Find first '1' starting from 'start' till 'end'. */
first_one = findBit (resType, start, end, 1u);