[media] v4l2-ctrls: v4l2_ctrl_handler_setup must set is_new to 1
authorHans Verkuil <hverkuil@xs4all.nl>
Tue, 11 Jan 2011 17:45:03 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 Jan 2011 13:45:32 +0000 (11:45 -0200)
commit2a863793beaa0fc9ee7aeb87efe85544a6b129c0
tree9316b12b95a707eb5541db2e24d6033d9b0e2805
parent45f6f84af3ae9db19f39bc5d0976d626b0ef626e
[media] v4l2-ctrls: v4l2_ctrl_handler_setup must set is_new to 1

Renamed has_new to is_new.

Drivers can use the is_new field to determine if a new value was specified
for a control. The v4l2_ctrl_handler_setup() must always set this to 1 since
the setup has to force a full update of all controls.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Documentation/video4linux/v4l2-controls.txt
drivers/media/video/v4l2-ctrls.c
include/media/v4l2-ctrls.h