]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/msm/dp: Add newlines to debug printks
authorStephen Boyd <swboyd@chromium.org>
Fri, 25 Aug 2023 23:01:08 +0000 (16:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Oct 2023 21:08:52 +0000 (23:08 +0200)
[ Upstream commit eba8c99a0fc45da1c8d5b5f5bd1dc2e79229a767 ]

These debug printks are missing newlines, causing drm debug logs to be
hard to read. Add newlines so that the messages are on their own line.

Cc: Kuogee Hsieh <quic_khsieh@quicinc.com>
Cc: Vinod Polimera <quic_vpolimer@quicinc.com>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Fixes: 601f0479c583 ("drm/msm/dp: add logs across DP driver for ease of debugging")
Fixes: cd779808cccd ("drm/msm/dp: Add basic PSR support for eDP")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Patchwork: https://patchwork.freedesktop.org/patch/554533/
Link: https://lore.kernel.org/r/20230825230109.2264345-1-swboyd@chromium.org
Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/msm/dp/dp_link.c

index 36bb6191d2f030fb11322dedad1d9ed10b116170..cb66d1126ea9607c0a8ac34bc41e70cf505fe82f 100644 (file)
@@ -1068,7 +1068,7 @@ int dp_link_process_request(struct dp_link *dp_link)
                }
        }
 
-       drm_dbg_dp(link->drm_dev, "sink request=%#x",
+       drm_dbg_dp(link->drm_dev, "sink request=%#x\n",
                                dp_link->sink_request);
        return ret;
 }