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

Commit e0e13828 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: sps: output BAM register dump to IPC log only"

parents 4b2babcf bac48650
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3005,8 +3005,8 @@ static int __init sps_init(void)
							"sps_ipc_log3", 0);
	if (!sps->ipc_log3)
		pr_err("Failed to create IPC log3\n");
	sps->ipc_log4 = ipc_log_context_create(SPS_IPC_LOGPAGES,
							"sps_ipc_log4", 0);
	sps->ipc_log4 = ipc_log_context_create(SPS_IPC_LOGPAGES *
				SPS_IPC_REG_DUMP_FACTOR, "sps_ipc_log4", 0);
	if (!sps->ipc_log4)
		pr_err("Failed to create IPC log4\n");

+5 −1
Original line number Diff line number Diff line
@@ -51,6 +51,7 @@

#define MAX_MSG_LEN 80
#define SPS_IPC_LOGPAGES 10
#define SPS_IPC_REG_DUMP_FACTOR 3

/* Connection mapping control struct */
struct sps_rm {
@@ -137,7 +138,10 @@ extern u8 print_limit_option;
	} while (0)
#define SPS_DUMP(msg, args...) do {					\
		SPS_IPC(4, sps, msg, args); \
		if (sps) { \
			if (sps->ipc_log4 == NULL) \
				pr_info(msg, ##args);	\
		} \
	} while (0)
#define SPS_DEBUGFS(msg, args...) do {					\
		char buf[MAX_MSG_LEN];		\