]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2-ctrls: drivers should be able to ignore the READ_ONLY flag
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 7 Jun 2011 07:50:31 +0000 (04:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 22:12:49 +0000 (19:12 -0300)
commit8ba99d06c85b14049c8e20aea1e9d6d788306045
treee2877f0bf00bc6a7be035ac56a4c3ab0f3a01aff
parent0f663cf93abd03e9f460e37753f745fedf20c2d7
[media] v4l2-ctrls: drivers should be able to ignore the READ_ONLY flag

When applications try to set READ_ONLY controls an error should
be returned. However, when drivers do that it should be accepted.

Those controls could reflect some driver status which the application
can't change but the driver obviously has to be able to change it.

This is needed among others for future HDMI status controls.

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