Skip to content

Instantly share code, notes, and snippets.

@todortomov
Created February 12, 2018 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save todortomov/0fc68c4c46583646f818fa5b6b1b8a5e to your computer and use it in GitHub Desktop.
Save todortomov/0fc68c4c46583646f818fa5b6b1b8a5e to your computer and use it in GitHub Desktop.
--- a/drivers/media/platform/qcom/camss-8x16/camss.c
+++ b/drivers/media/platform/qcom/camss-8x16/camss.c
@@ -628,8 +628,6 @@ static int camss_probe(struct platform_device *pdev)
ret = camss_of_parse_ports(dev, &camss->notifier);
if (ret < 0)
return ret;
- else if (ret == 0)
- return -ENODEV;
ret = camss_init_subdevices(camss);
if (ret < 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment