Fix for the bug in Generic platform library in RM
[keystone-rtos/edma3_lld.git] / 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 */ 
-    if ((initParam == NULL) || (initParam->rmInstInitConfig))
+    if ((initParam == NULL) || (initParam->rmInstInitConfig == NULL))
         {
         result = EDMA3_RM_E_INVALID_PARAM;
         }