MLK-18106: drm/imx: Fix nwl_dsi-imx bridge handling
authorRobert Chiras <robert.chiras@nxp.com>
Thu, 19 Apr 2018 08:22:08 +0000 (11:22 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commit46cbf5352a62bd230edb8a3bda65bdf6166dbdab
tree5923de99894bf1aebdffa3b5893322b070edd255
parent99d3cf5479ac189f47026ae108436fc59e297f48
MLK-18106: drm/imx: Fix nwl_dsi-imx bridge handling

The nwl_dsi-imx which is the platform driver for the NortWest Logic DSI
host controller found on IMX platforms handles the DSI host as a bridge.
Since the drm_bridge_attach function now supports chained bridges, there
is no need for nwl_dsi_add_bridge and nwl_dsi_del_bridge functions.
Just pass the existent bridge to drm_bridge_attach.

This fixes a bug created during kernel 4.14 rebase process.

Signed-off-by: Robert Chiras <robert.chiras@nxp.com>
drivers/gpu/drm/imx/nwl_dsi-imx.c