projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4679919
)
media: ov7740: Fix number of controls hint
author
Sakari Ailus
<
[email protected]
>
Thu, 12 Apr 2018 10:12:17 +0000
(06:12 -0400)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Mon, 23 Apr 2018 17:56:46 +0000
(13:56 -0400)
The driver has 12 controls, not 2.
Signed-off-by: Sakari Ailus <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/i2c/ov7740.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/ov7740.c
b/drivers/media/i2c/ov7740.c
index 01f578785e795a7189446bbd11e318dd152cae1f..c9b8bec6373f50ee1c2c554bb804b9cedf911092 100644
(file)
--- a/
drivers/media/i2c/ov7740.c
+++ b/
drivers/media/i2c/ov7740.c
@@
-953,7
+953,7
@@
static int ov7740_init_controls(struct ov7740 *ov7740)
struct v4l2_ctrl_handler *ctrl_hdlr = &ov7740->ctrl_handler;
int ret;
- ret = v4l2_ctrl_handler_init(ctrl_hdlr, 2);
+ ret = v4l2_ctrl_handler_init(ctrl_hdlr,
1
2);
if (ret < 0)
return ret;