summaryrefslogtreecommitdiff
path: root/test/libtest/test.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2019-08-08 12:06:10 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2019-08-13 10:23:21 +0100
commit3a278eb460810e6774915fc058d420549cfb00d3 (patch)
treed93358ef6778c0a84952e0fbec9ea4169b48c9e3 /test/libtest/test.h
parente0f35d6f57465a54ac03eed62ff23833ec051029 (diff)
libcamera: v4l2_videodevice: Fix ordering of debug statement
The "Opened device" statement occurs before the buffertype_ is set. This causes all devices to report that they are [out] devices at open() regardless of their type. As the message operates in the past-tense, move the statement to the end of the function when all work has been completed. Fixes: 04d5be7f76fe ("libcamera: v4l2_device: Inherit from Loggable to print device node name") Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/libtest/test.h')
0 files changed, 0 insertions, 0 deletions