diff options
author | Umang Jain <email@uajain.com> | 2021-01-12 10:21:40 +0530 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-01-12 14:07:58 +0000 |
commit | 44058f1c68a9789f0e9fbdfcb64d99d6313ed121 (patch) | |
tree | 2e62397cca39e5d60851f06c31ac0433076c3a07 /src/android/camera_hal_manager.cpp | |
parent | c0bad607ce16ea66aa9c4de892598793402281c6 (diff) |
libcamera: pipelines: ipu3: Simplify error bail out path on start()
On the bail out path, always ensure that ImgU and CIO2 are stopped
before freeing the buffers. V4L2VideoDevice class guarantees that
calling stop() without having to call start() is harmless, hence use
this guarantee to simplify error paths.
Signed-off-by: Umang Jain <email@uajain.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/camera_hal_manager.cpp')
0 files changed, 0 insertions, 0 deletions