Skip to content

Commit eba8c99

Browse files
bebarinoAbhinav Kumar
authored andcommitted
drm/msm/dp: Add newlines to debug printks
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: 601f047 ("drm/msm/dp: add logs across DP driver for ease of debugging") Fixes: cd77980 ("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>
1 parent 95e681c commit eba8c99

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/msm/dp/dp_link.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ int dp_link_process_request(struct dp_link *dp_link)
10901090
} else if (dp_link_read_psr_error_status(link)) {
10911091
DRM_ERROR("PSR IRQ_HPD received\n");
10921092
} else if (dp_link_psr_capability_changed(link)) {
1093-
drm_dbg_dp(link->drm_dev, "PSR Capability changed");
1093+
drm_dbg_dp(link->drm_dev, "PSR Capability changed\n");
10941094
} else {
10951095
ret = dp_link_process_link_status_update(link);
10961096
if (!ret) {
@@ -1107,7 +1107,7 @@ int dp_link_process_request(struct dp_link *dp_link)
11071107
}
11081108
}
11091109

1110-
drm_dbg_dp(link->drm_dev, "sink request=%#x",
1110+
drm_dbg_dp(link->drm_dev, "sink request=%#x\n",
11111111
dp_link->sink_request);
11121112
return ret;
11131113
}

0 commit comments

Comments
 (0)