summaryrefslogtreecommitdiff
path: root/utils/ipc/mojo
diff options
context:
space:
mode:
authorBenjamin Mugnier <benjamin.mugnier@foss.st.com>2025-05-23 11:56:56 +0200
committerKieran Bingham <kieran.bingham@ideasonboard.com>2025-05-29 15:00:09 +0100
commit1ee330c05827c54884d76a53a220eca40930afe5 (patch)
treef0515a1a2fdf30e6e69d13ef7fd8f9cc31b5d34a /utils/ipc/mojo
parent5b7c83d8ccd45f5ff533e6bed2001260c765dbb9 (diff)
ipa: rpi: Prevent segfault if AGC algorithm is absentHEADmaster
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