]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/edma3_lld.git/commitdiff
Fix for the bug in Generic platform library in RM
authorSundaram Raju <sundaram@ti.com>
Tue, 5 Oct 2010 10:42:58 +0000 (16:12 +0530)
committerSundaram Raju <sundaram@ti.com>
Tue, 5 Oct 2010 10:42:58 +0000 (16:12 +0530)
- Refer to IR# SDOCM00074466 for more details

Signed-off-by: Sundaram Raju <sundaram@ti.com>
packages/ti/sdo/edma3/rm/src/edma3resmgr.c

index 87872e847d466ed80f316ab1b9642315b318c23d..8edab241f010c27cc9ca013e8882df0c9a1463bc 100755 (executable)
@@ -606,7 +606,7 @@ EDMA3_RM_Handle EDMA3_RM_open (unsigned int phyCtrllerInstId,
 #ifdef GENERIC
     /* GENERIC libraries don't come with a default confifguration, always 
        needs to be supplied with a parameter */ 
 #ifdef GENERIC
     /* GENERIC libraries don't come with a default confifguration, always 
        needs to be supplied with a parameter */ 
-    if ((initParam == NULL) || (initParam->rmInstInitConfig))
+    if ((initParam == NULL) || (initParam->rmInstInitConfig == NULL))
         {
         result = EDMA3_RM_E_INVALID_PARAM;
         }
         {
         result = EDMA3_RM_E_INVALID_PARAM;
         }