Skip to content
Snippets Groups Projects
Commit 564da771 authored by Marek Vasut's avatar Marek Vasut Committed by Frieder Schrempf
Browse files

drm/exynos: Init the DSIM PHY in samsung_dsim_enable()


In case the PHY is not initialized, do it in samsung_dsim_enable(),
otherwise the link configuration registers are not programmed at all.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Guido Günther <agx@sigxcpu.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Michael Tretter <m.tretter@pengutronix.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
To: dri-devel@lists.freedesktop.org
parent e2bfa520
No related branches found
No related tags found
No related merge requests found
......@@ -1244,6 +1244,13 @@ static void samsung_dsim_enable(struct samsung_dsim *dsi)
pm_runtime_get_sync(dsi->dev);
dsi->state |= DSIM_STATE_ENABLED;
if (!(dsi->state & DSIM_STATE_INITIALIZED)) {
ret = samsung_dsim_init(dsi);
if (ret)
return;
dsi->state |= DSIM_STATE_INITIALIZED;
}
if (dsi->panel) {
ret = drm_panel_prepare(dsi->panel);
if (ret < 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment