[media] v4l: ctrls: Move control lock/unlock above the control access functions
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 12 Jun 2014 16:09:39 +0000 (13:09 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 21 Jul 2014 22:43:03 +0000 (19:43 -0300)
commit605b38403b710ca01a242448241bc45c722b341b
treed38d346dfb8924b84f1ce7a0819a1f97eb546089
parentc9adcb73b2da5eddfcb96bfa264bb61b6b83ac96
[media] v4l: ctrls: Move control lock/unlock above the control access functions

The v4l2_ctrl_{,un}lock will be needed elsewhere. Define them before the
functions that perform operations on controls.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
include/media/v4l2-ctrls.h