This is also part of a pull request from me (and so has my Signed-off-by 
already):

http://www.mail-archive.com/linux-media@vger.kernel.org/msg38018.html

Regards,

        Hans

On Thursday, October 27, 2011 13:17:58 Hans de Goede wrote:
> 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 <hdego...@redhat.com>
> ---
>  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 fc8666a..69e24f4 100644
> --- a/drivers/media/video/v4l2-ctrls.c
> +++ b/drivers/media/video/v4l2-ctrls.c
> @@ -945,6 +945,7 @@ static void new_to_cur(struct v4l2_fh *fh, struct 
> v4l2_ctrl *ctrl,
>                       if (ctrl->cluster[0]->has_volatiles)
>                               ctrl->flags |= V4L2_CTRL_FLAG_VOLATILE;
>               }
> +             fh = NULL;
>       }
>       if (changed || update_inactive) {
>               /* If a control was changed that was not one of the controls
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to