summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorSebastian Gross <sebastian.gross@emlix.com>2019-12-05 13:31:08 +0300
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-03-12 19:22:13 +0300
commit8ff3cf4824d123ecf6424cdb93ca8ca37dbd50af (patch)
tree9aa177c9f9d1df99c5988e0fc3beabed06fe6aa3 /drivers/media
parent2362a3d189fcc54252c6bda9579bd17bea5cc2f7 (diff)
downloadlinux-8ff3cf4824d123ecf6424cdb93ca8ca37dbd50af.tar.xz
media: i2c: s5c73m3: Fix number in auto focus cluster
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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c b/drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c
index 8911660da86f..71cf68a95bb2 100644
--- a/drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c
+++ b/drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c
@@ -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;