openwrt/target/linux/bcm27xx/patches-6.1/950-0200-media-v4l2-Add-Greyworld-AWB-control-name.patch

25 lines
751 B
Diff
Raw Normal View History

From 2256c396e731aabb7085a4e87bf796b90df0fdbe Mon Sep 17 00:00:00 2001
From: John Cox <jc@kynesim.co.uk>
Date: Fri, 6 Aug 2021 14:32:44 +0100
Subject: [PATCH] media: v4l2: Add Greyworld AWB control name
Add name for greyworld to white_balance preset names.
This patch previously applied to v4l2-ctrl.c but that was split
and deleted.
Signed-off-by: John Cox <jc@kynesim.co.uk>
---
drivers/media/v4l2-core/v4l2-ctrls-defs.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/media/v4l2-core/v4l2-ctrls-defs.c
+++ b/drivers/media/v4l2-core/v4l2-ctrls-defs.c
@@ -228,6 +228,7 @@ const char * const *v4l2_ctrl_get_menu(u
"Flash",
"Cloudy",
"Shade",
+ "Greyworld",
NULL,
};
static const char * const camera_iso_sensitivity_auto[] = {