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

Commit 87bfd986 authored by Vaisakh Murali's avatar Vaisakh Murali Committed by Gagan Malvi
Browse files

drivers/misc/mediatek: mtk-cmdq: Purge logging



Signed-off-by: default avatarGagan Malvi <malvi@aospa.co>
parent 3e6b80c5
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -89,14 +89,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)

@@ -110,7 +110,7 @@ if (cmdq_core_should_print_msg()) { \

#define CMDQ_ERR(string, args...) \
do {			\
	pr_notice("[CMDQ][ERR]"string, ##args); \
	pr_debug("[CMDQ][ERR]"string, ##args); \
	cmdq_core_save_first_dump("[CMDQ][ERR]"string, ##args); \
} while (0)

@@ -126,7 +126,7 @@ if (status < 0) \
do {			\
	char dispatchedTag[50]; \
	snprintf(dispatchedTag, 50, "CRDISPATCH_KEY:%s", tag); \
	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__, \
+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ struct mm_qos_request *getRequest(uint32_t thread_id, uint32_t port)
#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)

+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ static struct proc_dir_entry *gCmdqTestProcEntry;
#define CMDQ_TEST_FAIL(string, args...) \
do {			\
if (1) {	\
	pr_notice("[CMDQ][ERR]TEST FAIL: "string, ##args); \
	pr_debug("[CMDQ][ERR]TEST FAIL: "string, ##args); \
}			\
} while (0)