1 From da208ac4f51f643928847eabd81b7422fa6f6536 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 @@ -1056,8 +1056,8 @@ static const struct bm2835_mmal_v4l2_ctr
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,