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

Commit 44a5110a authored by Vamsi Krishna Samavedam's avatar Vamsi Krishna Samavedam Committed by Jack Pham
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>
parent 29ffacc3
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -35,6 +35,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