瀏覽代碼

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 <[email protected]>
Vara Reddy 5 年之前
父節點
當前提交
ddd2b4fe12
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      msm/dsi/dsi_ctrl_hw.h
  2. 1 1
      msm/dsi/dsi_ctrl_hw_cmn.c

+ 2 - 0
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

+ 1 - 1
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);
 	}
 }