media: i2c: imx258: Make HFLIP and VFLIP controls writable
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Tue, 15 Jun 2021 17:29:52 +0000 (18:29 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:34 +0000 (11:33 +0000)
commitcca1b7c51154b327c6041691dc410639f614d0bc
treedba1ae65f3fc3ceeff5e91086507391c16852165
parent6b86d6648cbe9fe046e4e77d655bdeaf1d66c376
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>
drivers/media/i2c/imx258.c