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

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

Merge "mhi: core: Transition to READY state if EE is pass through"

parents 6a6e0809 dbb615a8
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -432,9 +432,9 @@ void mhi_fw_load_worker(struct work_struct *work)

	MHI_LOG("Device current EE:%s\n", TO_MHI_EXEC_STR(mhi_cntrl->ee));

	/* if device in pthru, we do not have to load firmware */
	/* if device in pthru, do reset to ready state transition */
	if (mhi_cntrl->ee == MHI_EE_PTHRU)
		return;
		goto fw_load_ee_pthru;

	fw_name = (mhi_cntrl->ee == MHI_EE_EDL) ?
		mhi_cntrl->edl_image : mhi_cntrl->fw_image;
@@ -498,6 +498,7 @@ void mhi_fw_load_worker(struct work_struct *work)
		mhi_firmware_copy(mhi_cntrl, firmware, mhi_cntrl->fbc_image);
	}

fw_load_ee_pthru:
	/* transitioning into MHI RESET->READY state */
	ret = mhi_ready_state_transition(mhi_cntrl);