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

Commit 757c4610 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mhi: Allow ipc logging in perf build"

parents 31e76209 5f1c9c90
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -841,7 +841,12 @@ void mhi_debug_reg_dump(struct mhi_controller *mhi_cntrl);

#else

#define MHI_VERB(fmt, ...)
#define MHI_VERB(fmt, ...) do { \
		if (mhi_cntrl->log_buf && \
		    (mhi_cntrl->log_lvl <= MHI_MSG_LVL_VERBOSE)) \
			ipc_log_string(mhi_cntrl->log_buf, "[D][%s] " fmt, \
				       __func__, ##__VA_ARGS__); \
} while (0)

#endif