From 8691544f688bd3ae9b6db0845a75ce230fc9e90f 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(-) --- a/drivers/media/i2c/imx477.c +++ b/drivers/media/i2c/imx477.c @@ -2051,7 +2051,7 @@ static int imx477_init_controls(struct i /* 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;