[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>
Wed, 27 Jul 2011 20:53:31 +0000 (17:53 -0300)
commitc12fcfd676e16a82e47ee44fe2d13dc21717063a
tree005abc250b62c6e2d8c68fce4b256e1ace7c44d5
parent2151bdc887acfd6dc2c931b4d3c01f95e30b7df8
[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