projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3baaa6f
)
media: i2c: ov5647: Fix v4l2-compliance failure subscribing to events
author
David Plowman
<david.plowman@raspberrypi.com>
Wed, 12 May 2021 06:39:21 +0000
(07:39 +0100)
committer
Dom Cobley
<popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:11 +0000
(11:33 +0000)
Fixes the following v4l2-compliance failure:
fail: v4l2-test-controls.cpp(871): subscribe event for control 'User Controls' failed test
Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
drivers/media/i2c/ov5647.c
patch
|
blob
|
history
diff --git
a/drivers/media/i2c/ov5647.c
b/drivers/media/i2c/ov5647.c
index e548d8412e9b4aec15b0fbd6d1d4c64805fc7ca4..3b39cf9dd116f5597302078e1cc3a59875ae3f13 100644
(file)
--- a/
drivers/media/i2c/ov5647.c
+++ b/
drivers/media/i2c/ov5647.c
@@
-887,6
+887,8
@@
static const struct v4l2_subdev_core_ops ov5647_subdev_core_ops = {
.g_register = ov5647_sensor_get_register,
.s_register = ov5647_sensor_set_register,
#endif
+ .subscribe_event = v4l2_ctrl_subdev_subscribe_event,
+ .unsubscribe_event = v4l2_event_subdev_unsubscribe,
};
static const struct v4l2_rect *