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

Commit 95f00d25 authored by Shashank Mittal's avatar Shashank Mittal Committed by Matt Wagantall
Browse files

soc: qcom: dcc: replace readx_poll_timeout with readl_poll_timeout



Use readl_poll_timeout instead of readx_poll_timeout because
readl_poll_timeout already uses __raw_readl to read IO register.

Change-Id: I86d93bc63cf3282e360eed29732a708ee02cf6df
Signed-off-by: default avatarShashank Mittal <mittals@codeaurora.org>
parent 01be1677
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ static bool dcc_ready(struct dcc_drvdata *drvdata)
	uint32_t val;

	/* poll until DCC ready */
	if (!readx_poll_timeout(__raw_readl, (drvdata->base + DCC_STATUS), val,
	if (!readl_poll_timeout((drvdata->base + DCC_STATUS), val,
				(BVAL(val, 4) == 1), 1, TIMEOUT_US))
		return true;