mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "msm: camera: ife: Reduce config done timeout during stop" into camera-kernel.lnx.4.0
This commit is contained in:
commit
e0063de3c3
1 changed files with 3 additions and 9 deletions
|
|
@ -3711,19 +3711,13 @@ static int cam_ife_mgr_stop_hw(void *hw_mgr_priv, void *stop_hw_args)
|
|||
|
||||
cam_ife_mgr_pause_hw(ctx);
|
||||
|
||||
rc = wait_for_completion_timeout(
|
||||
&ctx->config_done_complete,
|
||||
msecs_to_jiffies(300));
|
||||
if (rc <= 0) {
|
||||
rc = wait_for_completion_timeout(&ctx->config_done_complete,
|
||||
msecs_to_jiffies(10));
|
||||
if (rc == 0) {
|
||||
CAM_WARN(CAM_ISP,
|
||||
"config done completion timeout for last applied req_id=%llu rc=%d ctx_index %d",
|
||||
ctx->applied_req_id, rc, ctx->ctx_index);
|
||||
rc = -ETIMEDOUT;
|
||||
} else {
|
||||
CAM_DBG(CAM_ISP,
|
||||
"config done Success for req_id=%llu ctx_index %d",
|
||||
ctx->applied_req_id, ctx->ctx_index);
|
||||
rc = 0;
|
||||
}
|
||||
|
||||
if (stop_isp->stop_only)
|
||||
|
|
|
|||
Loading…
Reference in a new issue