diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-10-31 10:16:44 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-08 07:30:33 -0500 |
commit | 1249a3a82d08d73ece65ae79e0553cd0f3407a15 (patch) | |
tree | 2d57932f202e64825aa28b01f62b93c9bdec28d2 /drivers/media | |
parent | e3e72f39b68ec2563d8ef22f9704a66b7f71b638 (diff) |
[media] v4l2-ctrl: Send change events to all fh for auto cluster slave controls
Otherwise the fh changing the master control won't get the inactive state
change event for the slave controls.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/v4l2-ctrls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/v4l2-ctrls.c b/drivers/media/video/v4l2-ctrls.c index c58c91bbcfbd..2ece7093b513 100644 --- a/drivers/media/video/v4l2-ctrls.c +++ b/drivers/media/video/v4l2-ctrls.c | |||
@@ -946,6 +946,7 @@ static void new_to_cur(struct v4l2_fh *fh, struct v4l2_ctrl *ctrl, | |||
946 | if (ctrl->cluster[0]->has_volatiles) | 946 | if (ctrl->cluster[0]->has_volatiles) |
947 | ctrl->flags |= V4L2_CTRL_FLAG_VOLATILE; | 947 | ctrl->flags |= V4L2_CTRL_FLAG_VOLATILE; |
948 | } | 948 | } |
949 | fh = NULL; | ||
949 | } | 950 | } |
950 | if (changed || update_inactive) { | 951 | if (changed || update_inactive) { |
951 | /* If a control was changed that was not one of the controls | 952 | /* If a control was changed that was not one of the controls |