media: i2c: imx290: Replace V4L2_CID_GAIN with V4L2_CID_ANALOGUE_GAIN
authorDavid Plowman <david.plowman@raspberrypi.com>
Thu, 4 Feb 2021 17:29:32 +0000 (17:29 +0000)
committerDom Cobley <popcornmix@gmail.com>
Mon, 21 Mar 2022 16:04:10 +0000 (16:04 +0000)
commitc3c8c31ceaf241c157c8ce68a5b3b693b3b8a21f
tree6fc75cd0854c25dfa81bd6f214d91edb133c532a
parentd88be102ffc9c66abde1fba7d7bf69ff1e19d4d4
media: i2c: imx290: Replace V4L2_CID_GAIN with V4L2_CID_ANALOGUE_GAIN

Most software (including libcamera) requires V4L2_CID_ANALOGUE_GAIN,
not V4L2_CID_GAIN.

The range for the control is 0 to 100 for which the sensor uses only
analogue gain; higher values would involve digital gain which this
control should not apply.

Signed-off-by: David Plowman <david.plowman@raspberrypi.com>
drivers/media/i2c/imx290.c