]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/mediatek: adjust dsi and mipi_tx probe sequence
authorJitao Shi <jitao.shi@mediatek.com>
Sun, 11 Aug 2019 10:40:08 +0000 (18:40 +0800)
committerCK Hu <ck.hu@mediatek.com>
Mon, 7 Oct 2019 04:29:38 +0000 (12:29 +0800)
mtk_mipi_tx is the phy of mtk_dsi.
mtk_dsi get the phy(mtk_mipi_tx) in probe().

So,  mtk_mipi_tx init should be ahead of mtk_dsi. Or mtk_dsi will
defer to wait mtk_mipi_tx probe done.

Signed-off-by: Jitao Shi <jitao.shi@mediatek.com>
Signed-off-by: CK Hu <ck.hu@mediatek.com>
drivers/gpu/drm/mediatek/mtk_drm_drv.c

index 352b81a7a67020b87465d47ddbe516df04fb91d0..62845ad4f542a797ba686ff22a11274671bea04f 100644 (file)
@@ -669,8 +669,8 @@ static struct platform_driver * const mtk_drm_drivers[] = {
        &mtk_disp_rdma_driver,
        &mtk_dpi_driver,
        &mtk_drm_platform_driver,
-       &mtk_dsi_driver,
        &mtk_mipi_tx_driver,
+       &mtk_dsi_driver,
 };
 
 static int __init mtk_drm_init(void)