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

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

Merge "mhi: core: Move to error state as soon as RDDM is detected"

parents b71e7e2a 50a54c9e
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1660,13 +1660,14 @@ irqreturn_t mhi_intvec_threaded_handlr(int irq_number, void *dev)
		write_unlock_irq(&mhi_cntrl->pm_lock);

		MHI_ERR("RDDM event occurred!\n");
		mhi_cntrl->status_cb(mhi_cntrl, mhi_cntrl->priv_data,
				     MHI_CB_EE_RDDM);
		wake_up_all(&mhi_cntrl->state_event);

		/* notify critical clients with early notifications */
		mhi_control_error(mhi_cntrl);

		mhi_cntrl->status_cb(mhi_cntrl, mhi_cntrl->priv_data,
				     MHI_CB_EE_RDDM);
		wake_up_all(&mhi_cntrl->state_event);

		goto exit_intvec;
	}