소스 검색

synx: Copy status only for merged fence

When an individual dma fence is signaled, the status is wrongly
overwritten with ACTIVE. This fix copies status only for
merged fences.

Change-Id: I34b1367316c86b76b2ed17434e4d01863ae06b58
Signed-off-by: Pravin Kumar Ravi <[email protected]>
Pravin Kumar Ravi 11 달 전
부모
커밋
996abee2bd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      msm/synx/synx.c

+ 1 - 1
msm/synx/synx.c

@@ -605,9 +605,9 @@ u32 synx_custom_get_status(struct synx_coredata *synx_obj, u32 status)
 			synx_obj->status = synx_get_child_status(synx_obj);
 		else
 			synx_obj->status = parent_global_status;
+		custom_status = synx_obj->status;
 	}
 
-	custom_status = synx_obj->status;
 	mutex_unlock(&synx_obj->obj_lock);
 
 bail: