mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
media: i2c: jx_f37: fix copy-paste typo
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com> Change-Id: Ieb3f45b26121654d594fd8c6de23cfc39e294ab6
This commit is contained in:
committed by
Tao Huang
parent
8c58b4696e
commit
4296e1fe9e
@@ -851,6 +851,8 @@ static long jx_f37_compat_ioctl32(struct v4l2_subdev *sd,
|
||||
unsigned int cmd, unsigned long arg)
|
||||
{
|
||||
void __user *up = compat_ptr(arg);
|
||||
struct preisp_hdrae_exp_s *hdrae;
|
||||
struct rkmodule_hdr_cfg *hdr;
|
||||
struct rkmodule_inf *inf;
|
||||
long ret;
|
||||
|
||||
@@ -1185,10 +1187,10 @@ static int jx_f37_enum_frame_interval(struct v4l2_subdev *sd,
|
||||
if (fie->index >= ARRAY_SIZE(supported_modes))
|
||||
return -EINVAL;
|
||||
|
||||
fie->code = supported_modes[fie->index].MEDIA_BUS_FMT_SBGGR10_1X10;
|
||||
fie->width = ov2718->support_modes[fie->index].width;
|
||||
fie->height = ov2718->support_modes[fie->index].height;
|
||||
fie->interval = ov2718->support_modes[fie->index].max_fps;
|
||||
fie->code = MEDIA_BUS_FMT_SBGGR10_1X10;
|
||||
fie->width = supported_modes[fie->index].width;
|
||||
fie->height = supported_modes[fie->index].height;
|
||||
fie->interval = supported_modes[fie->index].max_fps;
|
||||
fie->reserved[0] = supported_modes[fie->index].hdr_mode;
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user