media: imx258: Register H/V flip controls
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Tue, 17 Jan 2023 10:06:02 +0000 (11:06 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Tue, 11 Apr 2023 16:54:02 +0000 (18:54 +0200)
commit6e4731e756cd511e96342f317526d05605c26e8a
tree6dc69d9d438278235bb863c387caa258e3971034
parentc8f30770c62809968ddf584b8ce4400101daa58f
media: imx258: Register H/V flip controls

Register controls for V4L2_CID_HFLIP and V4L2_CID_VFLIP.

The controls are registered as read-only and enabled by default, as the
driver embeds a 180 degrees rotation in its programming sequences and
only supports that mode of operations.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/imx258.c