]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2-ctrls: don't initially set CH_VALUE for write-only controls
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 14 Jun 2011 05:42:45 +0000 (02:42 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 23:46:57 +0000 (20:46 -0300)
commitbf0078fc92ec6f0e8c235fab219833d44a279298
tree779ff7a1c39f6e3ceef487b5013b9f8d945974f6
parentf93fb7571145f24534494c1281485a9869429d44
[media] v4l2-ctrls: don't initially set CH_VALUE for write-only controls

When sending the SEND_INITIAL event for write-only controls the
V4L2_EVENT_CTRL_CH_VALUE flag should not be set. It's meaningless.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/v4l2-ctrls.c