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

Commit db1bc535 authored by Kyle Yan's avatar Kyle Yan
Browse files

soc: qcom: pil: Poll on MSS_STATUS[Q6_AXI_TO_BMIC_ACCESS]



Poll on MSS_STATUS[Q6_AXI_TO_BMIC_ACCESS] instead of
MSS_STATUS[Q6_AHB_ACCESS] as the former will be set earlier.

Change-Id: Iae4b21f37278bedce2578baa2ebdeac03e767049
Signed-off-by: default avatarKyle Yan <kyan@codeaurora.org>
parent 5f827442
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -411,7 +411,7 @@ static int __pil_q6v65_reset(struct pil_desc *pil)

	/* Wait for boot FSM to complete */
	ret = readl_poll_timeout(drv->rmb_base + MSS_STATUS, val,
			(val & BIT(1)) != 0, 10, BOOT_FSM_TIMEOUT);
			(val & BIT(0)) != 0, 10, BOOT_FSM_TIMEOUT);

	if (ret) {
		dev_err(drv->desc.dev, "Boot FSM failed to complete.\n");