aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/omap2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/omap2.c b/hw/omap2.c
index a845265..a3fa89d 100644
--- a/hw/omap2.c
+++ b/hw/omap2.c
@@ -3007,7 +3007,7 @@ static void omap_prcm_apll_update(struct omap_prcm_s *s)
s->apll_lock[1] = (mode[1] == 3);
/* TODO: update clocks */
- if (mode[0] == 1 || mode[0] == 2 || mode[1] == 1 || mode[2] == 2)
+ if (mode[0] == 1 || mode[0] == 2 || mode[1] == 1 || mode[1] == 2)
fprintf(stderr, "%s: bad EN_54M_PLL or bad EN_96M_PLL\n",
__FUNCTION__);
}