msm: synx: Added check while signaling merged handle
Added a condition while dispatching callbacks so that in case of merged handles callback is dispatched only when all handles are signaled. Change-Id: Ida6cf2c8bab6f7d66d625f2b14e49418dd794d44 Signed-off-by: Kuldeep Singh <quic_kulsin@quicinc.com>
This commit is contained in:

zatwierdzone przez
Gerrit - the friendly Code Review server

rodzic
d87e10c694
commit
df0f5418d0
@@ -694,7 +694,8 @@ void synx_signal_handler(struct work_struct *cb_dispatch)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (rc == SYNX_SUCCESS)
|
||||
if (rc == SYNX_SUCCESS && synx_util_get_object_status(synx_obj)
|
||||
!= SYNX_STATE_ACTIVE)
|
||||
rc = synx_native_signal_core(synx_obj, status,
|
||||
(signal_cb->flag & SYNX_SIGNAL_FROM_CALLBACK) ?
|
||||
true : false, signal_cb->ext_sync_id);
|
||||
|
Reference in New Issue
Block a user