[media] v4l: ctrls: Provide an unlocked variant of v4l2_ctrl_modify_range()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 12 Jun 2014 16:09:40 +0000 (13:09 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 21 Jul 2014 22:44:45 +0000 (19:44 -0300)
commit5a573925159aeec1dd159627d849dc6c66000faf
tree6464a008eeca716c199dc10c8a23a67d2fb3ecca
parent605b38403b710ca01a242448241bc45c722b341b
[media] v4l: ctrls: Provide an unlocked variant of v4l2_ctrl_modify_range()

Drivers may use the v4l2_ctrl_modify_range() internally as part of other
operations that need to be both serialised using a driver's lock which can
also be used to serialise access to the control handler. Provide an unlocked
version of the function, __v4l2_ctrl_modify_range() which then may be used
by drivers for the purpose.

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>
drivers/media/v4l2-core/v4l2-ctrls.c
include/media/v4l2-ctrls.h