From ddd2b4fe128b677825f89d219e45504ea862b351 Mon Sep 17 00:00:00 2001 From: Vara Reddy Date: Wed, 11 Sep 2019 08:56:55 -0700 Subject: [PATCH] drm/msm/dsi-staging: update dsi debug bus error message Change lowers the log level of the debug bus dump to info. Change-Id: I129f9f2e611428dc392d7888df43870beddac307 Signed-off-by: Vara Reddy --- msm/dsi/dsi_ctrl_hw.h | 2 ++ msm/dsi/dsi_ctrl_hw_cmn.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/msm/dsi/dsi_ctrl_hw.h b/msm/dsi/dsi_ctrl_hw.h index 853f16d43364..2f5519229ca2 100644 --- a/msm/dsi/dsi_ctrl_hw.h +++ b/msm/dsi/dsi_ctrl_hw.h @@ -17,6 +17,8 @@ fmt, c ? c->index : -1, ##__VA_ARGS__) #define DSI_CTRL_HW_ERR(c, fmt, ...) DRM_DEV_ERROR(NULL, "[msm-dsi-error]: DSI_%d: "\ fmt, c ? c->index : -1, ##__VA_ARGS__) +#define DSI_CTRL_HW_INFO(c, fmt, ...) DRM_DEV_INFO(NULL, "[msm-dsi-info]: DSI_%d: "\ + fmt, c ? c->index : -1, ##__VA_ARGS__) /** * Modifier flag for command transmission. If this flag is set, command diff --git a/msm/dsi/dsi_ctrl_hw_cmn.c b/msm/dsi/dsi_ctrl_hw_cmn.c index 785657410294..a7986d7a229b 100644 --- a/msm/dsi/dsi_ctrl_hw_cmn.c +++ b/msm/dsi/dsi_ctrl_hw_cmn.c @@ -509,7 +509,7 @@ void dsi_ctrl_hw_cmn_debug_bus(struct dsi_ctrl_hw *ctrl, u32 *entries, u32 size) /* make sure that debug test point is enabled */ wmb(); reg = DSI_R32(ctrl, DSI_DEBUG_BUS_STATUS); - DSI_CTRL_HW_ERR(ctrl, "debug bus ctrl: 0x%x status:0x%x\n", + DSI_CTRL_HW_INFO(ctrl, "debug bus ctrl: 0x%x status:0x%x\n", entries[i], reg); } }