[media] exynos4-is: Rename the ISP chain configuration data structure
More appropriate names for the ISP chain data structure. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
a6f5635e63
commit
3530ef0a6e
@@ -236,7 +236,7 @@ static int fimc_isp_subdev_s_stream(struct v4l2_subdev *sd, int on)
|
||||
}
|
||||
|
||||
v4l2_dbg(1, debug, sd, "changing mode to %d\n",
|
||||
is->scenario_id);
|
||||
is->config_index);
|
||||
ret = fimc_is_itf_mode_change(is);
|
||||
if (ret)
|
||||
return -EINVAL;
|
||||
@@ -317,8 +317,8 @@ static int fimc_isp_subdev_s_power(struct v4l2_subdev *sd, int on)
|
||||
clear_bit(IS_ST_PWR_ON, &is->state);
|
||||
clear_bit(IS_ST_INIT_DONE, &is->state);
|
||||
is->state = 0;
|
||||
is->cfg_param[is->scenario_id].p_region_index1 = 0;
|
||||
is->cfg_param[is->scenario_id].p_region_index2 = 0;
|
||||
is->config[is->config_index].p_region_index1 = 0;
|
||||
is->config[is->config_index].p_region_index2 = 0;
|
||||
set_bit(IS_ST_IDLE, &is->state);
|
||||
wmb();
|
||||
}
|
||||
|
Reference in New Issue
Block a user