]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] v4l2-ctrls: split try_or_set_ext_ctrls()
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 14 Jun 2011 13:56:42 +0000 (10:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 1 Jul 2011 23:51:12 +0000 (20:51 -0300)
commitedcb4a63b34891cd8c3af1dedd798e3e831933de
tree1ba33aac99223bcbca857363a4ba67a677573299
parent3219f8a362640b7e4b7e2187b1094c4e46d85aa0
[media] v4l2-ctrls: split try_or_set_ext_ctrls()

Split try_or_set_ext_ctrls() into a validate_ctrls() part ('Phase 1')
and merge the second part ('Phase 2') into try_set_ext_ctrls().

This makes a lot more sense and it also does the validation before
trying to try/set the 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