diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-12-19 02:21:28 +0200 |
---|---|---|
committer | Niklas Söderlund <niklas.soderlund@ragnatech.se> | 2019-02-01 08:11:33 +0100 |
commit | ff96eb2ebb714cef37de8e2ff19c3e56ba8bc91b (patch) | |
tree | 88394144d270860360bf807934a4e7aa52966916 /include/linux/v4l2-common.h | |
parent | 51d442d5a1c1839bb538aeca35a9451e2d325200 (diff) |
libcamera: camera: Add acquire() and release()
Exclusive access must be obtained before performing operations that
change the device state. Define an internal flag to track ownership and
provide a means of protecting functions that change device
configuration.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include/linux/v4l2-common.h')
0 files changed, 0 insertions, 0 deletions