diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2022-05-05 09:48:24 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2022-05-10 16:49:53 +0100 |
commit | c39b52c1840545bf89ff048764a4b550db465624 (patch) | |
tree | b70ffc8c3dd4be5ff0f68cbc72879e4244c7a2b0 /test/file.cpp | |
parent | 065a9e6c050c7b4e922e4ac17a6d36097520e5e8 (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 'test/file.cpp')
0 files changed, 0 insertions, 0 deletions