summaryrefslogtreecommitdiff
path: root/utils/ipu3
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2020-06-03 22:14:37 +0900
committerPaul Elder <paul.elder@ideasonboard.com>2020-06-08 17:11:34 +0900
commit4ed996990dba907c8916ccf2e3b08f9c4988b641 (patch)
tree55f7fc5f5671c2f07fa96044bd12eb5b3902931f /utils/ipu3
parentd072fd6e07487e20cbe4d781999e5c025702a091 (diff)
v4l2: v4l2_camera_proxy: Acquire only one buffer semaphore on VIDIOC_DQBUF
We use a semaphore to atomically keep track of how many buffers are available for dequeueing. The check for how to acquire the semaphore was incorrect, leading to a double acquire upon a successful nonblocking acquire. Fix this. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'utils/ipu3')
0 files changed, 0 insertions, 0 deletions