|
@@ -5679,6 +5679,10 @@ static int cam_ife_csid_init_config_update(
|
|
|
}
|
|
|
|
|
|
path_cfg = (struct cam_ife_csid_ver2_path_cfg *)res->res_priv;
|
|
|
+ /* Skip epoch update if resource does not handle camif IRQs */
|
|
|
+ if (!path_cfg->handle_camif_irq)
|
|
|
+ goto end;
|
|
|
+
|
|
|
path_cfg->epoch_cfg = (path_cfg->end_line - path_cfg->start_line) *
|
|
|
init_cfg->init_config->epoch_cfg.epoch_factor / 100;
|
|
|
|
|
@@ -5691,7 +5695,7 @@ static int cam_ife_csid_init_config_update(
|
|
|
CAM_DBG(CAM_ISP,
|
|
|
"Init Update for res_name: %s epoch_factor: %x",
|
|
|
res->res_name, path_cfg->epoch_cfg);
|
|
|
-
|
|
|
+end:
|
|
|
return 0;
|
|
|
}
|
|
|
|