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

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

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

parents 75109115 b25aa0e3
Loading
Loading
Loading
Loading
+2 −3
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,9 +1416,8 @@ 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));
		read_unlock_bh(&mhi_cntrl->pm_lock);
		return -EIO;
	}