aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/mailbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/mailbox.c')
-rw-r--r--arch/arm/mach-omap2/mailbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mailbox.c b/arch/arm/mach-omap2/mailbox.c
index f3fefca58494..c035ad3426d0 100644
--- a/arch/arm/mach-omap2/mailbox.c
+++ b/arch/arm/mach-omap2/mailbox.c
@@ -93,7 +93,7 @@ static int omap2_mbox_startup(struct omap_mbox *mbox)
93 l = mbox_read_reg(MAILBOX_SYSSTATUS); 93 l = mbox_read_reg(MAILBOX_SYSSTATUS);
94 if (l & RESETDONE) 94 if (l & RESETDONE)
95 break; 95 break;
96 } while (time_after(jiffies, timeout)); 96 } while (!time_after(jiffies, timeout));
97 97
98 if (!(l & RESETDONE)) { 98 if (!(l & RESETDONE)) {
99 pr_err("Can't take mmu out of reset\n"); 99 pr_err("Can't take mmu out of reset\n");