It looks like there is a missing ; that brings the following sr32
into the loop body. That probably wasn't intentional and could
lead to unreliable ordering of the completion check and possibly
no sr32 following completion.
Signed-off-by: Andy Green <andy.green@linaro.org>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
/* Check for DSS Clocks */
while (((*(volatile int *)0x4A009100) & 0xF00) != 0xE00)
- /* Set HW_AUTO transition mode */
- sr32(CM_DSS_CLKSTCTRL, 0, 32, 0x3);
+ ;
+ /* Set HW_AUTO transition mode */
+ sr32(CM_DSS_CLKSTCTRL, 0, 32, 0x3);
/* Enable SGX clocks */
sr32(CM_SGX_CLKSTCTRL, 0, 32, 0x2);