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 19feead commit c790218Copy full SHA for c790218
drivers/media/platform/bcm2835/bcm2835-unicam.c
@@ -1001,7 +1001,7 @@ const struct unicam_fmt *get_first_supported_format(struct unicam_device *dev)
1001
{
1002
struct v4l2_subdev_mbus_code_enum mbus_code;
1003
const struct unicam_fmt *fmt = NULL;
1004
- int ret;
+ int ret = 0;
1005
int j;
1006
1007
for (j = 0; ret != -EINVAL && ret != -ENOIOCTLCMD; ++j) {
0 commit comments