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

Commit 0ac758fe 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 c65240d2 d8757b43
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -777,7 +777,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