media: i2c: imx208: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Mon, 5 Dec 2022 15:21:46 +0000 (15:21 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 6 Dec 2022 07:23:19 +0000 (07:23 +0000)
commitf19ba70fc982563554d31fca2e7ca406657ee9b2
treef23cd35b1e25e62b144afde67ef91920b3034bbd
parent66274280b2c745d380508dc27b9a4dfd736e5eda
media: i2c: imx208: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips

The driver changes the Bayer order based on the flips, but
does not define the control correctly with the
V4L2_CTRL_FLAG_MODIFY_LAYOUT flag.

Add the V4L2_CTRL_FLAG_MODIFY_LAYOUT flag.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/imx208.c