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

Commit 4572d9af authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: vidc: Debug message format to improve readability"

parents a97f0b8f f0de1133
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ extern bool msm_vidc_syscache_disable;
	} while (0)

#define MSM_VIDC_ERROR(value)					\
	do {							\
	do {	if (value)					\
			dprintk(VIDC_DBG, "BugOn");		\
		BUG_ON(value);					\
	} while (0)
+8 −1
Original line number Diff line number Diff line
@@ -3162,7 +3162,14 @@ static void __flush_debug_queue(struct venus_hfi_device *device, u8 *packet)
		} else {
			struct hfi_msg_sys_debug_packet *pkt =
				(struct hfi_msg_sys_debug_packet *) packet;
			dprintk(log_level, "%s", pkt->rg_msg_data);
			/*
			 * All fw messages starts with new line character. This
			 * causes dprintk to print this message in two lines
			 * in the kernel log. Ignoring the first character
			 * from the message fixes this to print it in a single
			 * line.
			 */
			dprintk(log_level, "%s", &pkt->rg_msg_data[1]);
		}
	}