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

Commit 19b3a110 authored by Bhaumik Bhatt's avatar Bhaumik Bhatt
Browse files

mhi: core: remove stray spinlock unlock call



Remove stray spinlock unlock call done without a lock which
caused a crash during a reboot.

Change-Id: Iab223dee538616e4cf2c642652071d386cb13429
Signed-off-by: default avatarBhaumik Bhatt <bbhatt@codeaurora.org>
parent 8c06c754
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1418,7 +1418,6 @@ int mhi_process_tsync_event_ring(struct mhi_controller *mhi_cntrl,
	if (unlikely(MHI_EVENT_ACCESS_INVALID(mhi_cntrl->pm_state))) {
		MHI_ERR("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;
	}