mbox series

[0/2] Unlocked v4l2_ctrl_grab

Message ID 20180926080937.19501-1-sakari.ailus@linux.intel.com (mailing list archive)
Headers show
Series Unlocked v4l2_ctrl_grab | expand

Message

Sakari Ailus Sept. 26, 2018, 8:09 a.m. UTC
Hi folks,

This set adds an unlocked variant of v4l2_ctrl_grab(). This is needed when
there's a need not to release the control lock for grabbing a control.

Used by the imx319 driver, but beneficial on a bunch of other sensor
drivers, too --- to grab the *flip controls.

Sakari Ailus (2):
  v4l: ctrl: Remove old documentation from v4l2_ctrl_grab
  v4l: ctrl: Provide unlocked variant of v4l2_ctrl_grab

 drivers/media/v4l2-core/v4l2-ctrls.c | 14 ++++----------
 include/media/v4l2-ctrls.h           | 26 +++++++++++++++++++++++++-
 2 files changed, 29 insertions(+), 11 deletions(-)