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

Commit 15d09a3c authored by Vamsi Krishna Samavedam's avatar Vamsi Krishna Samavedam Committed by Ajay Agarwal
Browse files

usb: dwc3: debug: Add dbg_log_string to log strings



Even though dwc3 logging uses ipc logging it still applies
restrictions with size and number parameters. Add additional
macro to log formatted strings.

Change-Id: Iee6dbec08d5cda1202c7261800b490bcb2b313fb
Signed-off-by: default avatarVamsi Krishna Samavedam <vskrishn@codeaurora.org>
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent 33b8da6b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -43,6 +43,10 @@

#define dbg_setup(ep_num, req) \
	dwc3_dbg_setup(dwc, ep_num, req)

#define dbg_log_string(fmt, ...) \
	ipc_log_string(dwc->dwc_ipc_log_ctxt,\
			"%s: " fmt, __func__, ##__VA_ARGS__)
/**
 * dwc3_gadget_ep_cmd_string - returns endpoint command string
 * @cmd: command code