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

Commit b25aa0e3 authored by Bhaumik Bhatt's avatar Bhaumik Bhatt
Browse files

mhi: core: move non-essential errors to log messages



With the exception of control event ring processing, turn
the non-essential error messages to log variants so they
do not show up in dmesg.

Change-Id: Ib49022b25817d8d65dd10d33c4a948698c571082
Signed-off-by: default avatarBhaumik Bhatt <bbhatt@codeaurora.org>
parent 19b3a110
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1353,7 +1353,7 @@ int mhi_process_data_event_ring(struct mhi_controller *mhi_cntrl,
	struct mhi_chan *mhi_chan;

	if (unlikely(MHI_EVENT_ACCESS_INVALID(mhi_cntrl->pm_state))) {
		MHI_ERR("No EV access, PM_STATE:%s\n",
		MHI_LOG("No EV access, PM_STATE:%s\n",
			to_mhi_pm_state_str(mhi_cntrl->pm_state));
		return -EIO;
	}
@@ -1416,7 +1416,7 @@ int mhi_process_tsync_event_ring(struct mhi_controller *mhi_cntrl,
	u64 remote_time;

	if (unlikely(MHI_EVENT_ACCESS_INVALID(mhi_cntrl->pm_state))) {
		MHI_ERR("No EV access, PM_STATE:%s\n",
		MHI_LOG("No EV access, PM_STATE:%s\n",
			to_mhi_pm_state_str(mhi_cntrl->pm_state));
		return -EIO;
	}