Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddd2b4fe authored by Vara Reddy's avatar Vara Reddy
Browse files

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: default avatarVara Reddy <varar@codeaurora.org>
parent 0ce6ca89
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -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
Original line number Original line Diff line number Diff line
@@ -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);
	}
	}
}
}