media: platform: isp: don't start ldch asynchronously in multi-isp mode

fix the bug that ldch map error in multi-ISP mode

Signed-off-by: Xu Hongfei <xuhf@rock-chips.com>
Change-Id: I95d88b8db312bdce079974d3a54a3b6b79b0daab
This commit is contained in:
Xu Hongfei
2021-03-01 20:40:17 +08:00
committed by Tao Huang
parent a846281fee
commit ca19cf66a1

View File

@@ -4009,8 +4009,13 @@ void __isp_isr_other_config(struct rkisp_isp_params_vdev *params_vdev,
&new_params->others.ldch_cfg);
if (module_en_update & ISP2X_MODULE_LDCH) {
/*
* lsc read table from sram in mult-isp mode,
* so don't delay in mult-isp mode.
*/
if (params_vdev->first_cfg_params &&
!!(module_ens & ISP2X_MODULE_LDCH))
!!(module_ens & ISP2X_MODULE_LDCH) &&
params_vdev->dev->hw_dev->is_single)
priv_val->delay_en_ldch = true;
else
ops->ldch_enable(params_vdev,