summaryrefslogtreecommitdiff
path: root/src/cam/camera_session.cpp
diff options
context:
space:
mode:
authorNaushir Patuck <naush@raspberrypi.com>2022-05-05 09:48:24 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2022-05-10 16:49:53 +0100
commitc39b52c1840545bf89ff048764a4b550db465624 (patch)
treeb70ffc8c3dd4be5ff0f68cbc72879e4244c7a2b0 /src/cam/camera_session.cpp
parent065a9e6c050c7b4e922e4ac17a6d36097520e5e8 (diff)
v4l2_videodevice: Disable the watchdog timer when no buffers are queued
Only enable/reset the watchdog timer when there are buffers queued in the V4L2 device. Otherwise, we may trigger spurious warnings when the watchdog times out even if there are no buffers queued in the device. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/cam/camera_session.cpp')
0 files changed, 0 insertions, 0 deletions