We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8042f41 commit f0e9589Copy full SHA for f0e9589
drivers/media/i2c/tvp5150.c
@@ -1534,7 +1534,7 @@ static int tvp5150_probe(struct i2c_client *c,
1534
27000000, 1, 27000000);
1535
v4l2_ctrl_new_std_menu_items(&core->hdl, &tvp5150_ctrl_ops,
1536
V4L2_CID_TEST_PATTERN,
1537
- ARRAY_SIZE(tvp5150_test_patterns),
+ ARRAY_SIZE(tvp5150_test_patterns) - 1,
1538
0, 0, tvp5150_test_patterns);
1539
sd->ctrl_handler = &core->hdl;
1540
if (core->hdl.error) {
0 commit comments