Loading drivers/platform/msm/sps/sps.c +2 −2 Original line number Diff line number Diff line Loading @@ -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"); Loading drivers/platform/msm/sps/spsi.h +5 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading @@ -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]; \ Loading Loading
drivers/platform/msm/sps/sps.c +2 −2 Original line number Diff line number Diff line Loading @@ -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"); Loading
drivers/platform/msm/sps/spsi.h +5 −1 Original line number Diff line number Diff line Loading @@ -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 { Loading Loading @@ -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]; \ Loading