diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2022-01-24 10:31:06 +0000 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-02-03 02:40:07 +0200 |
commit | e875503bc4a40e5043fb045942535b865692ff60 (patch) | |
tree | c66bc3f0bcb4bf8ca1f04ad788f6861ea4d92d59 /.clang-tidy | |
parent | b71cd3358f6bb4f8f8efc7974c9d1acd131788bb (diff) |
ipa: raspberrypi: Limit the maximum sensor gain used
Limit the gain code to the maximum value reported by the sensor controls
when sending to DelayedControls. The AGC algorithm will handle a lower
gain used by the sensor, provided it knows the actual gain used. This
change ensures that DelayedControls will never report an unclipped gain
used.
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to '.clang-tidy')
0 files changed, 0 insertions, 0 deletions