diff options
author | Meng Yi <meng.yi@nxp.com> | 2016-07-15 08:53:37 +0200 |
---|---|---|
committer | Stefan Agner <stefan@agner.ch> | 2016-07-16 03:06:28 +0200 |
commit | 924591b1f289e48ac1b893607906a16c98cae053 (patch) | |
tree | d92489e7b9ac13684f4d6abca24efe4349dfd8de /drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c | |
parent | drm/fsl-dcu: add missing of_node_put after calling of_parse_phandle (diff) | |
download | linux-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.c | 2 |
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; |