linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] media: i2c: s5c73m3: Fix number in auto focus cluster
@ 2019-12-05 10:31 Sebastian Gross
  0 siblings, 0 replies; only message in thread
From: Sebastian Gross @ 2019-12-05 10:31 UTC (permalink / raw)
  To: kyungmin.park, a.hajda, mchehab, linux-media, linux-kernel

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>
---
  drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

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;
  
-- 
2.24.0

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-05 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-05 10:31 [PATCH] media: i2c: s5c73m3: Fix number in auto focus cluster Sebastian Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).