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: Shashank Mittal <mittals@codeaurora.org>
This commit is contained in:
parent
65d782b85e
commit
e1ab4fb9b1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue