DaVinci-VPFE-Capture: fix error handling
[pandora-kernel.git] / drivers / media / video / davinci / vpfe_capture.c
index 5b38fc9..06e80f0 100644 (file)
@@ -2002,6 +2002,7 @@ static __init int vpfe_probe(struct platform_device *pdev)
                        v4l2_info(&vpfe_dev->v4l2_dev,
                                  "v4l2 sub device %s register fails\n",
                                  sdinfo->name);
+                       ret = -ENXIO;
                        goto probe_sd_out;
                }
        }