drivers: misc: mediatek: Purge as much CMDQ_LOGs as possible

Signed-off-by: Vaisakh Murali <vaisakhmurali@gmail.com>
Signed-off-by: officialputuid <officialputuid@hack.id>
This commit is contained in:
Vaisakh Murali
2021-02-22 20:48:57 +05:30
committed by Ansh
parent e9dfea1356
commit e01ac186ce
2 changed files with 5 additions and 5 deletions

View File

@@ -72,14 +72,14 @@ struct DumpFirstErrorStruct {
#define CMDQ_LOG(string, args...) \
do { \
pr_notice("[CMDQ]"string, ##args); \
pr_debug("[CMDQ]"string, ##args); \
cmdq_core_save_first_dump("[CMDQ]"string, ##args); \
} while (0)
#define CMDQ_MSG(string, args...) \
do { \
if (cmdq_core_should_print_msg()) { \
pr_notice("[CMDQ]"string, ##args); \
pr_debug("[CMDQ]"string, ##args); \
} \
} while (0)
@@ -93,7 +93,7 @@ do { \
#define CMDQ_ERR(string, args...) \
do { \
pr_notice("[CMDQ][ERR]"string, ##args); \
pr_err("[CMDQ][ERR]"string, ##args); \
cmdq_core_save_first_dump("[CMDQ][ERR]"string, ##args); \
} while (0)
@@ -111,7 +111,7 @@ do { \
int len = snprintf(dispatchedTag, 50, "CRDISPATCH_KEY:%s", tag); \
if (len >= 50) \
pr_debug("%s:%d len:%d over 50\n", __func__, __LINE__, len); \
pr_notice("[CMDQ][AEE]"string, ##args); \
pr_debug("[CMDQ][AEE]"string, ##args); \
cmdq_core_save_first_dump("[CMDQ][AEE]"string, ##args); \
cmdq_core_turnoff_first_dump(); \
aee_kernel_warning_api(__FILE__, __LINE__, \

View File

@@ -64,7 +64,7 @@ struct plist_head qos_isp_module_request_list[MDP_TOTAL_THREAD];
#define CMDQ_LOG_PMQOS(string, args...) \
do { \
if (cmdq_core_should_pmqos_log()) { \
pr_notice("[CMDQ][MDP]"string, ##args); \
pr_debug("[CMDQ][MDP]"string, ##args); \
} \
} while (0)