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

Commit 59a73548 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 03161634 4819bb4d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1659,13 +1659,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;
	}