1 From a7f3e4a5c67b2cd8379dc707b2e3c0a2a60634f3 Mon Sep 17 00:00:00 2001
2 From: Naushir Patuck <naush@raspberrypi.com>
3 Date: Mon, 6 Nov 2023 09:42:37 +0000
4 Subject: [PATCH 0707/1085] drivers: media: imx477: Correctly set
5 IMX477_PIXEL_RATE as a r/o control
7 This control is meant to be read-only, mark it as such.
9 Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
11 drivers/media/i2c/imx477.c | 2 ++
12 1 file changed, 2 insertions(+)
14 --- a/drivers/media/i2c/imx477.c
15 +++ b/drivers/media/i2c/imx477.c
16 @@ -2001,6 +2001,8 @@ static int imx477_init_controls(struct i
20 + if (imx477->pixel_rate)
21 + imx477->pixel_rate->flags |= V4L2_CTRL_FLAG_READ_ONLY;
23 /* LINK_FREQ is also read only */