* [PATCH v11 3/3] [media] imx214: Fix range for V4L2_CID_EXPOSURE
@ 2018-10-05 23:00 Ricardo Ribalda Delgado
0 siblings, 0 replies; only message in thread
From: Ricardo Ribalda Delgado @ 2018-10-05 23:00 UTC (permalink / raw)
To: Hans Verkuil, Laurent Pinchart, Sakari Ailus,
Mauro Carvalho Chehab, linux-kernel, linux-media, jacopo
Cc: Ricardo Ribalda Delgado
Going above 3184 changes the frame-rate of the sensor. Without this
patch there is no way to change the exposure without affecting the
frame-rate.
With the proper documentation we should be able the change the
frame-rate at wish, but until that happens we just cap what the sensor
can do.
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
---
drivers/media/i2c/imx214.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/i2c/imx214.c b/drivers/media/i2c/imx214.c
index fe01a13f13c5..284b9b49ebde 100644
--- a/drivers/media/i2c/imx214.c
+++ b/drivers/media/i2c/imx214.c
@@ -1029,7 +1029,7 @@ static int imx214_probe(struct i2c_client *client)
*/
imx214->exposure = v4l2_ctrl_new_std(&imx214->ctrls, &imx214_ctrl_ops,
V4L2_CID_EXPOSURE,
- 0, 0xffff, 1, 0x0c70);
+ 0, 3184, 1, 0x0c70);
ret = imx214->ctrls.error;
if (ret) {
--
2.19.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-10-06 6:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-05 23:00 [PATCH v11 3/3] [media] imx214: Fix range for V4L2_CID_EXPOSURE Ricardo Ribalda Delgado
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).