summaryrefslogtreecommitdiff
path: root/test/media_device
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-08-28 17:39:53 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-08-28 18:19:13 +0200
commit2ad832fa6e9c06b671d61aac3cf9eac5a36a6b86 (patch)
treed48c6b8d47676d6acbcc8e5c9f41fa252e2ab743 /test/media_device
parent1e8c91b65695449c5246d17ba7dc439c8058b781 (diff)
libcamera: raspberrypi: dmaheaps: Improve device open
Improve the device opening at class construction time by testing all the available device paths and printout the appropriate error message. While at it, initialize dmaHeapHandle_ to -1 and check for its value at destruction time. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'test/media_device')
0 files changed, 0 insertions, 0 deletions