Skip to content

Commit 8691544

Browse files
committed
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 <[email protected]>
1 parent 5b29221 commit 8691544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/media/i2c/imx477.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2051,7 +2051,7 @@ static int imx477_init_controls(struct imx477 *imx477)
20512051
/* LINK_FREQ is also read only */
20522052
imx477->link_freq =
20532053
v4l2_ctrl_new_int_menu(ctrl_hdlr, &imx477_ctrl_ops,
2054-
V4L2_CID_LINK_FREQ, 1, 0,
2054+
V4L2_CID_LINK_FREQ, 0, 0,
20552055
&link_freqs[imx477->link_freq_idx]);
20562056
if (imx477->link_freq)
20572057
imx477->link_freq->flags |= V4L2_CTRL_FLAG_READ_ONLY;

0 commit comments

Comments
 (0)