--- ./source/private_module/devm/src/ssp/rpc/eam_sync_rpc.c	2018-02-09 07:36:26.000000000 +0000
+++ ./source/private_module/devm/src/ssp/rpc/eam_sync_rpc.c.hotpatch	2018-08-25 02:01:33.000000000 +0000
@@ -429,9 +429,7 @@
     return RETURN_OK;
 }
 
-
-
-
+int32_t gEamTestFlag = 1;
 int32_t sendSyncRpcCall(uint32_t opcode, \
                      uint32_t bitMap,\
                      const void *dataBuff, \
@@ -457,12 +455,10 @@
     {
         return RETURN_ERROR;
     }
-
     /* ڴ棬ͷ Ȼ */
     syncInfo.syncOpcode = opcode;
     syncInfo.syncContext = context;
     syncInfo.rpcSrcHandle = custRpcSrcHandle;
-
     memType = getEamRpcDataTypeBySize(buffLen + sizeof(SYNC_MSG_HEAD_S));
     if(EAM_RSV_MEM_TYPE_BUTT == memType)
     {
@@ -470,7 +466,6 @@
                                         buffLen, file, line);
         return RETURN_ERROR;
     }
-
     saveDataBuff = EAM_MALLOC_RSV_MEM((EAM_RSV_MEM_TYPE_E)memType, buffLen + sizeof(SYNC_MSG_HEAD_S));
     if(NULL == saveDataBuff)
     {
@@ -487,7 +482,6 @@
     }
     /* Ĭֵ0յԶ˵RPCӦ󣬽ֵ޸Ϊ1 */
     atomic_set(&syncInfo.completeFlag, 0);
-
     /* ڵRPCǷʱ */
     startTime = LVOS_GetMilliSecond();   
     
@@ -505,7 +499,7 @@
 
     /*  ȴԶӦ  */
     waitTime = timeout;
-    for(i=0; i < waitTime; i++)
+    for(i=0; ; i++)
     {
         if(0 != atomic_read(&syncInfo.completeFlag))
         {
@@ -514,6 +508,12 @@
         /* лȥ 1 ms */
         LVOS_msleep(1);
     }
+    if (gEamTestFlag)
+    {
+         gEamTestFlag = 0;
+         DBG_LogInfo(LOG_ID_0000, "EAM_CTRL: wait time %llu(syncCode:%u, file:%s,line:%d).", 
+                                             LVOS_GetMilliSecond()-startTime, opcode, file, line);
+    }
     if(i >= waitTime)
     {
         DBG_LogError(LOG_ID_0000, "EAM_CTRL: wait timeout %llu(syncCode:%u, file:%s,line:%d).", 
