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:
Shashank Mittal 2015-05-20 15:30:13 -07:00 committed by Jeevan Shriram
parent 65d782b85e
commit e1ab4fb9b1

View file

@ -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;