Quellcode durchsuchen

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 vor 11 Monaten
Ursprung
Commit
996abee2bd
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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: