]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/msm/dsi: print error code when MIPI DSI host registration fails
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 4 Jun 2021 10:41:13 +0000 (13:41 +0300)
committerRob Clark <robdclark@chromium.org>
Wed, 23 Jun 2021 14:33:54 +0000 (07:33 -0700)
In order to ease debugging of DSI host registration issues, print return
code of dsi_mgr_setup_components().

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
drivers/gpu/drm/msm/dsi/dsi_manager.c

index cd016576e8c5c3e4e7a7e7eade1dce505dac9af9..4df5defdbf4cbfb5cdb007fc6e4c122d13193be4 100644 (file)
@@ -817,8 +817,8 @@ int msm_dsi_manager_register(struct msm_dsi *msm_dsi)
 
        ret = dsi_mgr_setup_components(id);
        if (ret) {
-               pr_err("%s: failed to register mipi dsi host for DSI %d\n",
-                       __func__, id);
+               pr_err("%s: failed to register mipi dsi host for DSI %d: %d\n",
+                       __func__, id, ret);
                goto fail;
        }