From e15fc53ecfb4718d03b23bd410b9bb2fefd973ba Mon Sep 17 00:00:00 2001 From: Dave Stevenson Date: Thu, 21 Nov 2024 15:54:58 +0000 Subject: [PATCH] media: i2c: imx477: Fix link frequency menu "media: i2c: imx477: Add options for slightly modifying the link freq" created a link frequency menu with 2 items in instead of one. Correct this. Signed-off-by: Dave Stevenson --- drivers/media/i2c/imx477.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/imx477.c b/drivers/media/i2c/imx477.c index 8e9d89e88de3c..317f9adf9f6ba 100644 --- a/drivers/media/i2c/imx477.c +++ b/drivers/media/i2c/imx477.c @@ -2051,7 +2051,7 @@ static int imx477_init_controls(struct imx477 *imx477) /* LINK_FREQ is also read only */ imx477->link_freq = v4l2_ctrl_new_int_menu(ctrl_hdlr, &imx477_ctrl_ops, - V4L2_CID_LINK_FREQ, 1, 0, + V4L2_CID_LINK_FREQ, 0, 0, &link_freqs[imx477->link_freq_idx]); if (imx477->link_freq) imx477->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;