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

Commit 058c23fa authored by Sujeev Dias's avatar Sujeev Dias Committed by Gerrit - the friendly Code Review server
Browse files

mhi: core: reduce logging level for errors msg during queue transfer



"MHI not in active state..." is not a fatal error message, this
happens when MHI is in process of shutdown, but some clients
not yet receive shutdown notification.

CRs-Fixed: 2261930
Change-Id: I5732a6348d17f860b43873602706632aa065bdda
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent 143c2283
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -363,7 +363,7 @@ int mhi_queue_skb(struct mhi_device *mhi_dev,

	read_lock_bh(&mhi_cntrl->pm_lock);
	if (unlikely(MHI_PM_IN_ERROR_STATE(mhi_cntrl->pm_state))) {
		MHI_ERR("MHI is not in activate state, pm_state:%s\n",
		MHI_VERB("MHI is not in activate state, pm_state:%s\n",
			 to_mhi_pm_state_str(mhi_cntrl->pm_state));
		read_unlock_bh(&mhi_cntrl->pm_lock);

@@ -498,7 +498,7 @@ int mhi_queue_buf(struct mhi_device *mhi_dev,
	 * which is not fatal so we do not need to hold pm_lock
	 */
	if (unlikely(MHI_PM_IN_ERROR_STATE(mhi_cntrl->pm_state))) {
		MHI_ERR("MHI is not in active state, pm_state:%s\n",
		MHI_VERB("MHI is not in active state, pm_state:%s\n",
			 to_mhi_pm_state_str(mhi_cntrl->pm_state));

		return -EIO;