From b9b5e776f60ba5e679d744315df63378e2067dd4 Mon Sep 17 00:00:00 2001 From: David Plowman Date: Thu, 17 Mar 2022 15:03:27 +0000 Subject: ipa: raspberrypi: awb: Fix typo in AWB mode conversion table The AwbAuto mode is defined in all the JSON tuning files as "auto", not "normal". The effect of this was that you couldn't switch back to "auto" mode once you had switched away. Signed-off-by: David Plowman Reviewed-by: Kieran Bingham Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart --- src/ipa/raspberrypi/raspberrypi.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ipa/raspberrypi/raspberrypi.cpp b/src/ipa/raspberrypi/raspberrypi.cpp index fd8fecb0..1bf4e270 100644 --- a/src/ipa/raspberrypi/raspberrypi.cpp +++ b/src/ipa/raspberrypi/raspberrypi.cpp @@ -604,7 +604,7 @@ static const std::map ExposureModeTable = { }; static const std::map AwbModeTable = { - { controls::AwbAuto, "normal" }, + { controls::AwbAuto, "auto" }, { controls::AwbIncandescent, "incandescent" }, { controls::AwbTungsten, "tungsten" }, { controls::AwbFluorescent, "fluorescent" }, -- cgit v1.2.1