[media] s3c-camif: Remove use of deprecated V4L2_CTRL_FLAG_DISABLED
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 20 Jan 2014 09:27:09 +0000 (06:27 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 11:53:57 +0000 (09:53 -0200)
commit7c869651455d456af943c88797de3fcff44ecfde
tree974ce8fc8b7f53110765c95dd994da657e8621ee
parent3857fcdee98911570770e61fc0480478a613117c
[media] s3c-camif: Remove use of deprecated V4L2_CTRL_FLAG_DISABLED

I came across this while checking the kernel use of V4L2_CTRL_FLAG_DISABLED.

This flag should not be used with the control framework. Instead, just don't
add the control at all.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/s3c-camif/camif-capture.c