From: Andy Green Date: Wed, 9 Feb 2011 14:40:50 +0000 (+0000) Subject: xloader: Panda - bugfix missing while body X-Git-Tag: v1.5.0~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-x-loader.git;a=commitdiff_plain;h=305492ac7f7f7d83256d13a755093fdb97e5dae3 xloader: Panda - bugfix missing while body 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 Signed-off-by: Anand Gadiyar --- diff --git a/board/omap4430panda/clock.c b/board/omap4430panda/clock.c index 80432f4..282e670 100644 --- a/board/omap4430panda/clock.c +++ b/board/omap4430panda/clock.c @@ -737,8 +737,9 @@ static void enable_all_clocks(void) /* 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);