Skip to content

Commit

Permalink
media: i2c: s5c73m3: Fix number in auto focus cluster
Browse files Browse the repository at this point in the history
As of `s5c73m3.h` the auto focus cluster in `s5c73m3_ctrls` has 5 and not 6
controls.

Signed-off-by: Sebastian Gross <sebastian.gross@emlix.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
  • Loading branch information
Sebastian Gross authored and Mauro Carvalho Chehab committed Mar 12, 2020
1 parent 2362a3d commit 8ff3cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ int s5c73m3_init_controls(struct s5c73m3 *state)
V4L2_CTRL_FLAG_UPDATE;
v4l2_ctrl_auto_cluster(2, &ctrls->auto_iso, 0, false);
ctrls->af_status->flags |= V4L2_CTRL_FLAG_VOLATILE;
v4l2_ctrl_cluster(6, &ctrls->focus_auto);
v4l2_ctrl_cluster(5, &ctrls->focus_auto);

state->sensor_sd.ctrl_handler = hdl;

Expand Down

0 comments on commit 8ff3cf4

Please sign in to comment.