Merge remote-tracking branch 'drm-panel/drm/panel/for-next'
[deliverable/linux.git] / drivers / media / platform / rcar-fcp.c
index 6a7bcc3028b180b6fd5cd77c97ef3da159e6599a..f3a3f31cdfa9c6cb0715b91f4b39230a3cef4529 100644 (file)
@@ -99,10 +99,16 @@ EXPORT_SYMBOL_GPL(rcar_fcp_put);
  */
 int rcar_fcp_enable(struct rcar_fcp_device *fcp)
 {
+       int ret;
+
        if (!fcp)
                return 0;
 
-       return pm_runtime_get_sync(fcp->dev);
+       ret = pm_runtime_get_sync(fcp->dev);
+       if (ret < 0)
+               return ret;
+
+       return 0;
 }
 EXPORT_SYMBOL_GPL(rcar_fcp_enable);
 
@@ -159,6 +165,7 @@ static int rcar_fcp_remove(struct platform_device *pdev)
 }
 
 static const struct of_device_id rcar_fcp_of_match[] = {
+       { .compatible = "renesas,fcpf" },
        { .compatible = "renesas,fcpv" },
        { },
 };
This page took 0.041831 seconds and 5 git commands to generate.