diff options
author | Naushir Patuck <naush@raspberrypi.com> | 2023-06-12 14:06:08 +0100 |
---|---|---|
committer | Naushir Patuck <naush@raspberrypi.com> | 2023-06-19 11:31:10 +0100 |
commit | 618b9aaa17713bed359112bda358e81e1eaea86c (patch) | |
tree | 0f4908c2b496a75d1436c3da098651e36eecb4b7 /include/linux/videodev2.h | |
parent | 9c666075f3e8886217a4c557a6a59112a139e98f (diff) |
ipa: rpi: agc: Do not switch to a default if a mode is unavailable
In commit 0ee9339331c6, a default metering/exposure/constraint mode is
used if a control sets a mode that is not listed in the camera tuning
file.
Setting a default mode may be undesirable in these cases, so instead
keep the agc mode unchanged. This also matches the behaviour for other
IPA controls where no changes are made in error conditions.
Fixes: 0ee9339331c6 ("ipa: rpi: agc: Gracefully handle missing agc modes")
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: David Plowman <david.plowman@raspberrypi.com>
Diffstat (limited to 'include/linux/videodev2.h')
0 files changed, 0 insertions, 0 deletions