summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c
diff options
context:
space:
mode:
authorMeng Yi <meng.yi@nxp.com>2016-07-15 08:53:37 +0200
committerStefan Agner <stefan@agner.ch>2016-07-16 03:06:28 +0200
commit924591b1f289e48ac1b893607906a16c98cae053 (patch)
treed92489e7b9ac13684f4d6abca24efe4349dfd8de /drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c
parentdrm/fsl-dcu: add missing of_node_put after calling of_parse_phandle (diff)
downloadlinux-924591b1f289e48ac1b893607906a16c98cae053.tar.xz
linux-924591b1f289e48ac1b893607906a16c98cae053.zip
drm/fsl-dcu: rework codes to support of_graph dt binding for panel
This patch rework the output code to add of_graph dt binding support for panel device and also keeps the backward compatibility Signed-off-by: Meng Yi <meng.yi@nxp.com> Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Stefan Agner <stefan@agner.ch>
Diffstat (limited to 'drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c')
-rw-r--r--drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c
index a6e4cd591960..d9d6cc1c8e39 100644
--- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c
+++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c
@@ -43,7 +43,7 @@ int fsl_dcu_drm_modeset_init(struct fsl_dcu_drm_device *fsl_dev)
if (ret)
goto err;
- ret = fsl_dcu_drm_connector_create(fsl_dev, &fsl_dev->encoder);
+ ret = fsl_dcu_create_outputs(fsl_dev);
if (ret)
goto err;