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 <david.plowman@raspberrypi.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
This commit is contained in:
David Plowman 2022-03-17 15:03:27 +00:00 committed by Laurent Pinchart
parent a8284e3570
commit b9b5e776f6

View file

@ -604,7 +604,7 @@ static const std::map<int32_t, std::string> ExposureModeTable = {
};
static const std::map<int32_t, std::string> AwbModeTable = {
{ controls::AwbAuto, "normal" },
{ controls::AwbAuto, "auto" },
{ controls::AwbIncandescent, "incandescent" },
{ controls::AwbTungsten, "tungsten" },
{ controls::AwbFluorescent, "fluorescent" },