media: i2c: imx290: Add H and V flip controls
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Thu, 11 Jun 2020 17:34:16 +0000 (18:34 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 1 Jul 2020 15:34:17 +0000 (16:34 +0100)
commit870c639ee0c1ea32913332f3d180ec4284b8d8dc
treee98ede98a8d2f6dadc3928c02a9378edfc3f950c
parentba0b41bd93403f6612d3f3841be411d260cc2cfd
media: i2c: imx290: Add H and V flip controls

The sensor supports horizontal and vertical flips, so support them
through V4L2_CID_HFLIP and V4L2_CID_VFLIP.

This sensor does NOT change the Bayer order when changing the
direction of readout, therefore no special handling is required for
that.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/media/i2c/imx290.c