mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
media: rockchip: isp1: check first iq param is set or not
Change-Id: I334874c58f7788e7ea4309cbf2eee4f400a41cd7 Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
This commit is contained in:
@@ -2254,6 +2254,7 @@ void rkisp1_params_config_parameter(struct rkisp1_isp_params_vdev *params_vdev)
|
||||
{
|
||||
struct rkisp1_isp_params_ops *ops = params_vdev->ops;
|
||||
struct cifisp_hst_config hst = hst_params_default_config;
|
||||
struct device *dev = params_vdev->dev->dev;
|
||||
int i;
|
||||
|
||||
spin_lock(¶ms_vdev->config_lock);
|
||||
@@ -2307,6 +2308,10 @@ void rkisp1_params_config_parameter(struct rkisp1_isp_params_vdev *params_vdev)
|
||||
params_vdev->hdrae_para.lsc_table[i] = 0x0400;
|
||||
|
||||
/* override the default things */
|
||||
if (!params_vdev->cur_params.module_cfg_update &&
|
||||
!params_vdev->cur_params.module_en_update)
|
||||
dev_warn(dev, "can not get first iq setting in stream on\n");
|
||||
|
||||
__isp_isr_other_config(params_vdev, ¶ms_vdev->cur_params);
|
||||
__isp_isr_meas_config(params_vdev, ¶ms_vdev->cur_params);
|
||||
__preisp_isr_update_hdrae_para(params_vdev, ¶ms_vdev->cur_params);
|
||||
|
||||
Reference in New Issue
Block a user