v4l: Allow changing control handler lock
authorSakari Ailus <sakari.ailus@iki.fi>
Tue, 6 Mar 2012 16:32:59 +0000 (18:32 +0200)
committerSergio Aguirre <sergio.a.aguirre@gmail.com>
Fri, 8 Jun 2012 23:02:42 +0000 (18:02 -0500)
commitcba3bd273606c4a5399b2a12ce1a5acd561f01c3
treea23370a76ee620463d350a58e50c05e34915365b
parent19f312c6a4b4593af050e21922a76b29209151c8
v4l: Allow changing control handler lock

Allow choosing the lock used by the control handler. This may be handy
sometimes when a driver providing multiple subdevs does not want to use
several locks to serialise its functions.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
drivers/media/video/adp1653.c
drivers/media/video/v4l2-ctrls.c
drivers/media/video/vivi.c
include/media/v4l2-ctrls.h