[media] v4l2-ctrls.c: Implement unlocked variant of v4l2_ctrl_handler_setup()
authorSakari Ailus <sakari.ailus@linux.intel.com>
Fri, 26 May 2017 08:21:37 +0000 (05:21 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 7 Jun 2017 11:38:12 +0000 (08:38 -0300)
commitcc0140e2a04513ccdd950d939729e557d23cc910
tree5425f756de737c8d5e597873a783bc2403dd1667
parentec62c9a54cc28dd20dfb08b4663d021028b1a97e
[media] v4l2-ctrls.c: Implement unlocked variant of v4l2_ctrl_handler_setup()

Sometimes the caller is already holding the control handler mutex and
using it to serialise something. Provide an unlocked variant of the same
function to be used in those cases.

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 <mchehab@s-opensource.com>
drivers/media/v4l2-core/v4l2-ctrls.c
include/media/v4l2-ctrls.h