]> www.infradead.org Git - users/dwmw2/linux.git/commit
media: i2c: imx290: Limit analogue gain according to module
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 20 Nov 2024 19:17:03 +0000 (19:17 +0000)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 19 Dec 2024 11:50:13 +0000 (12:50 +0100)
commitec75fd952b0b5cdab7b606cdacba237c57c1fdda
tree8b88bc22ecc07174097f371ca4de645a907366af
parentda73efa8e675a2b58f1c7ae61201acfe57714bf7
media: i2c: imx290: Limit analogue gain according to module

The imx327 only supports up to 29.4dB of analogue gain, vs
the imx290 going up to 30dB. Both are in 0.3dB steps.

As we now have model specific config, fix this mismatch,
and delete the comment referencing it.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/imx290.c