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

Commit baad0d89 authored by Manu Gautam's avatar Manu Gautam
Browse files

Revert "mhi: core: add timesync logs after resume completes"



This reverts commit 279df8f0.
Commit 279df8f0 ("mhi: core: add timesync logs after
resume completes") adds timesync register read which could
have latency of the order of ~msecs if device is in L1ss
sleep, causing the CPU to be stalled.

Change-Id: If3f0084408c6ad052427bf3bc905d272fed55f81
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 39cb43ef
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -1446,9 +1446,6 @@ int mhi_pm_resume(struct mhi_controller *mhi_cntrl)
	 */
	mhi_special_events_pending(mhi_cntrl);

	if (MHI_REG_ACCESS_VALID(mhi_cntrl->pm_state))
		mhi_timesync_log(mhi_cntrl);

	return 0;
}

@@ -1540,9 +1537,6 @@ int mhi_pm_fast_resume(struct mhi_controller *mhi_cntrl, bool notify_client)
	/* schedules worker if any special purpose events need to be handled */
	mhi_special_events_pending(mhi_cntrl);

	if (MHI_REG_ACCESS_VALID(mhi_cntrl->pm_state))
		mhi_timesync_log(mhi_cntrl);

	MHI_LOG("Exit with pm_state:%s dev_state:%s\n",
		to_mhi_pm_state_str(mhi_cntrl->pm_state),
		TO_MHI_STATE_STR(mhi_cntrl->dev_state));