Explorar el Código

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 hace 5 años
padre
commit
ddd2b4fe12
Se han modificado 2 ficheros con 3 adiciones y 1 borrados
  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__)
 		fmt, c ? c->index : -1,	##__VA_ARGS__)
 #define DSI_CTRL_HW_ERR(c, fmt, ...)	DRM_DEV_ERROR(NULL, "[msm-dsi-error]: DSI_%d: "\
 #define DSI_CTRL_HW_ERR(c, fmt, ...)	DRM_DEV_ERROR(NULL, "[msm-dsi-error]: DSI_%d: "\
 		fmt, c ? c->index : -1,	##__VA_ARGS__)
 		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
  * 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 */
 		/* make sure that debug test point is enabled */
 		wmb();
 		wmb();
 		reg = DSI_R32(ctrl, DSI_DEBUG_BUS_STATUS);
 		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);
 				entries[i], reg);
 	}
 	}
 }
 }