diff options
author | Benjamin Mugnier <benjamin.mugnier@foss.st.com> | 2025-05-23 11:56:56 +0200 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2025-05-29 15:00:09 +0100 |
commit | 1ee330c05827c54884d76a53a220eca40930afe5 (patch) | |
tree | f0515a1a2fdf30e6e69d13ef7fd8f9cc31b5d34a /utils/ipc/mojo | |
parent | 5b7c83d8ccd45f5ff533e6bed2001260c765dbb9 (diff) |
Even without AGC definition in the tuning file, the application would
still dereference agc unconditionally, leading to a segmentation fault
if AGC is absent.
This is relevant for sensors already providing AGC/AEC by themselves.
Check if AGC is present prior to setting maximum exposure time.
Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Tested-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com> # RPi4 + imx708_wide
Reviewed-by: Naushir Patuck <naush@raspberrypi.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'utils/ipc/mojo')
0 files changed, 0 insertions, 0 deletions