From 305492ac7f7f7d83256d13a755093fdb97e5dae3 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 9 Feb 2011 14:40:50 +0000 Subject: [PATCH] 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 --- board/omap4430panda/clock.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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); -- 2.39.5