media: rockchip: isp: fix cproc use wrong ie config

Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: Ia19a02bac0d25191bf355697ee8005d86344a62b
This commit is contained in:
Hu Kejun
2020-03-23 17:47:22 +08:00
committed by Tao Huang
parent 4f4b86c75b
commit d89f490ca8

View File

@@ -877,8 +877,8 @@ static void
isp_cproc_config(struct rkisp_isp_params_vdev *params_vdev,
const struct isp2x_cproc_cfg *arg)
{
struct cifisp_isp_other_cfg *cur_other_cfg = &params_vdev->isp1x_params.others;
struct cifisp_ie_config *cur_ie_config = &cur_other_cfg->ie_config;
struct isp2x_isp_other_cfg *cur_other_cfg = &params_vdev->isp2x_params.others;
struct isp2x_ie_cfg *cur_ie_config = &cur_other_cfg->ie_cfg;
u32 effect = cur_ie_config->effect;
u32 quantization = params_vdev->quantization;