]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: i2c: imx258: Make HFLIP and VFLIP controls writable
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Wed, 1 May 2024 15:24:37 +0000 (09:24 -0600)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 4 Jun 2024 06:31:24 +0000 (08:31 +0200)
commit4c05213aeed73ef055430e619bd7b40f6839de0e
tree10aaf97f8406f6fd0637460a71236bde7593f323
parent799c46e849b1b051fcf33547231aec6888fe5003
media: i2c: imx258: Make HFLIP and VFLIP controls writable

The sensor supports H & V flips, but the controls were READ_ONLY.

Note that the Bayer order changes with these flips, therefore
they set the V4L2_CTRL_FLAG_MODIFY_LAYOUT property.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Luis Garcia <git@luigi311.com>
Reviewed-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/imx258.c