[media] media/v4l2-ctrls: Add execute flags to write_only controls
authorRicardo Ribalda <ricardo.ribalda@gmail.com>
Fri, 20 Mar 2015 14:21:28 +0000 (11:21 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 8 Apr 2015 09:34:19 +0000 (06:34 -0300)
commitef66c0ca09595d72f058b11bd7b542b0d95a1350
treef25815ee0f7d2a98a825fb519078bf2fe908a826
parentb6e5b8f1a90230f922de8af59cdaf1ad83e1ac1e
[media] media/v4l2-ctrls: Add execute flags to write_only controls

Any control that sets FLAG_WRITE_ONLY should OR it with
FLAG_EXECUTE_ON_WRITE.

So we can keep the current meaning of WRITE_ONLY.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/v4l2-ctrls.c