Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 14f1a95b authored by Camera Software Integration's avatar Camera Software Integration Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: tfe: Reduce reset timeout to 100ms" into camera-kernel.lnx.3.1

parents a3600119 16a8981b
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -2212,8 +2212,9 @@ int cam_tfe_reset(void *hw_priv, void *reset_core_args, uint32_t arg_size)

	CAM_DBG(CAM_ISP, "TFE:%d waiting for tfe reset complete",
		core_info->core_index);
	/* Wait for Completion or Timeout of 500ms */
	rc = wait_for_completion_timeout(&core_info->reset_complete, 500);
	/* Wait for Completion or Timeout of 100ms */
	rc = wait_for_completion_timeout(&core_info->reset_complete,
		msecs_to_jiffies(100));
	if (rc <= 0) {
		CAM_ERR(CAM_ISP, "TFE:%d Error Reset Timeout",
			core_info->core_index);