1 From 8d5fe5f8e6d877811ae270e087f19496b98ea1ca Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Mon, 8 Feb 2021 11:48:35 +0000
4 Subject: [PATCH] staging:bcm2835-camera: Fix the cherry-pick of AWB
7 The cherry-pick of the patch that added the greyworld AWB mode
8 was incomplete. Fix it up.
10 Fixes: b3ef481fe243 "staging: bcm2835-camera: Add greyworld AWB mode"
11 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
13 drivers/staging/vc04_services/bcm2835-camera/controls.c | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
16 --- a/drivers/staging/vc04_services/bcm2835-camera/controls.c
17 +++ b/drivers/staging/vc04_services/bcm2835-camera/controls.c
18 @@ -1050,8 +1050,8 @@ static const struct bcm2835_mmal_v4l2_ct
20 .id = V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE,
21 .type = MMAL_CONTROL_TYPE_STD_MENU,
23 - .max = V4L2_WHITE_BALANCE_SHADE,
25 + .max = V4L2_WHITE_BALANCE_GREYWORLD,
26 .def = V4L2_WHITE_BALANCE_AUTO,