Merge "msm: camera: reqmgr: Correct condition check" into camera-kernel.lnx.5.0

Este commit está contenido en:
Camera Software Integration
2021-07-26 17:33:06 -07:00
cometido por Gerrit - the friendly Code Review server

Ver fichero

@@ -5063,7 +5063,7 @@ int cam_req_mgr_flush_requests(
rc = cam_common_wait_for_completion_timeout(
&link->workq_comp,
msecs_to_jiffies(CAM_REQ_MGR_SCHED_REQ_TIMEOUT));
if (rc)
if (!rc)
CAM_WARN(CAM_CRM, "Flush call timeout for session_hdl %u link_hdl %u type: %d",
flush_info->link_hdl, flush_info->session_hdl,
flush_info->flush_type);