media: i2c: imx471: Set max analog gain to 960
Kate Hsuan
maintainerPATCH 1/1 media: i2c: imx471: Set max analog gain to 960
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]>
--- drivers/media/i2c/imx471.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/i2c/imx471.c +1 -1
@@ -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
Signature · 1 line
2.55.0