diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-01-01 11:15:16 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2019-01-01 11:15:16 +0000 |
commit | 992756d3e8579d2dd098686e61d1bad1e3310855 (patch) | |
tree | 83aa24e39d744a85f50180bc9f7832333784ea12 /sys | |
parent | 7e795cadb41ebb6c7a222107a0a2733753364b8c (diff) |
Fix typo in RK3328 fractional PLL frequency code.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/fdt/rkclock.c | 4 |
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; |