summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-01-01 11:15:16 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-01-01 11:15:16 +0000
commit992756d3e8579d2dd098686e61d1bad1e3310855 (patch)
tree83aa24e39d744a85f50180bc9f7832333784ea12 /sys
parent7e795cadb41ebb6c7a222107a0a2733753364b8c (diff)
Fix typo in RK3328 fractional PLL frequency code.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/fdt/rkclock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/fdt/rkclock.c b/sys/dev/fdt/rkclock.c
index 19fefe03968..a510b296129 100644
--- a/sys/dev/fdt/rkclock.c
+++ b/sys/dev/fdt/rkclock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkclock.c,v 1.35 2018/12/31 21:53:52 kettenis Exp $ */
+/* $OpenBSD: rkclock.c,v 1.36 2019/01/01 11:15:15 kettenis Exp $ */
/*
* Copyright (c) 2017, 2018 Mark Kettenis <kettenis@openbsd.org>
*
@@ -1180,7 +1180,7 @@ rk3328_set_frac_pll(struct rkclock_softc *sc, bus_size_t base, uint32_t freq)
postdiv1 = 2; postdiv2 = 1; refdiv = 24; fracdiv = 671088;
break;
case 61440000U:
- postdiv1 = 7; postdiv2 = 2; refdiv = 24; fracdiv = 671088;
+ postdiv1 = 7; postdiv2 = 2; refdiv = 6; fracdiv = 671088;
break;
case 56448000U:
postdiv1 = postdiv2 = 4; refdiv = 12; fracdiv = 9797894;