linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm/msm/dsi: print error code when MIPI DSI host registration fails
@ 2021-06-04 10:44 Dmitry Baryshkov
  2021-06-04 16:39 ` [Freedreno] " abhinavk
  0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Baryshkov @ 2021-06-04 10:44 UTC (permalink / raw)
  To: Bjorn Andersson, Rob Clark, Sean Paul, Abhinav Kumar
  Cc: Jonathan Marek, Stephen Boyd, David Airlie, Daniel Vetter,
	linux-arm-msm, dri-devel, freedreno

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>
---
 drivers/gpu/drm/msm/dsi/dsi_manager.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c b/drivers/gpu/drm/msm/dsi/dsi_manager.c
index cd016576e8c5..4df5defdbf4c 100644
--- a/drivers/gpu/drm/msm/dsi/dsi_manager.c
+++ b/drivers/gpu/drm/msm/dsi/dsi_manager.c
@@ -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;
 	}
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Freedreno] [PATCH] drm/msm/dsi: print error code when MIPI DSI host registration fails
  2021-06-04 10:44 [PATCH] drm/msm/dsi: print error code when MIPI DSI host registration fails Dmitry Baryshkov
@ 2021-06-04 16:39 ` abhinavk
  0 siblings, 0 replies; 2+ messages in thread
From: abhinavk @ 2021-06-04 16:39 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: Bjorn Andersson, Rob Clark, Sean Paul, Jonathan Marek,
	Stephen Boyd, linux-arm-msm, dri-devel, David Airlie,
	Daniel Vetter, freedreno

On 2021-06-04 03:44, Dmitry Baryshkov wrote:
> 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>
> ---
>  drivers/gpu/drm/msm/dsi/dsi_manager.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/msm/dsi/dsi_manager.c
> b/drivers/gpu/drm/msm/dsi/dsi_manager.c
> index cd016576e8c5..4df5defdbf4c 100644
> --- a/drivers/gpu/drm/msm/dsi/dsi_manager.c
> +++ b/drivers/gpu/drm/msm/dsi/dsi_manager.c
> @@ -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;
>  	}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-04 16:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-04 10:44 [PATCH] drm/msm/dsi: print error code when MIPI DSI host registration fails Dmitry Baryshkov
2021-06-04 16:39 ` [Freedreno] " abhinavk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).