diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-08-28 17:39:53 +0200 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-08-28 18:19:13 +0200 |
commit | 2ad832fa6e9c06b671d61aac3cf9eac5a36a6b86 (patch) | |
tree | d48c6b8d47676d6acbcc8e5c9f41fa252e2ab743 /test/v4l2_videodevice/buffer_cache.cpp | |
parent | 1e8c91b65695449c5246d17ba7dc439c8058b781 (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/v4l2_videodevice/buffer_cache.cpp')
0 files changed, 0 insertions, 0 deletions