On Wed Sep 2 15:06:53 2026 +0800, Kate Hsuan wrote:
> The maximum analog gain was previously restricted to resolve image
> flickering and overexposure issues. With recent developments in
> libcamera, this limit can now be restored to its original value of
> 960 to ensure image brightness is properly evaluated and adjusted.
> 
> Link: 
> https://raw.githubusercontent.com/intel/ipu6-drivers/refs/heads/master/drivers/media/i2c/imx471.c
> Signed-off-by: Kate Hsuan <[email protected]>
> Signed-off-by: Sakari Ailus <[email protected]>

Patch committed.

Thanks,
Sakari Ailus

 drivers/media/i2c/imx471.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

---

diff --git a/drivers/media/i2c/imx471.c b/drivers/media/i2c/imx471.c
index 4053aed84340..8d9c3d0723c0 100644
--- a/drivers/media/i2c/imx471.c
+++ b/drivers/media/i2c/imx471.c
@@ -41,7 +41,7 @@
 /* Analog gain control */
 #define IMX471_REG_ANALOG_GAIN                 CCI_REG16(0x0204)
 #define IMX471_ANA_GAIN_MIN                    0
-#define IMX471_ANA_GAIN_MAX                    800
+#define IMX471_ANA_GAIN_MAX                    960
 #define IMX471_ANA_GAIN_STEP                   1
 #define IMX471_ANA_GAIN_DEFAULT                        0
 
_______________________________________________
linuxtv-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to