Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/sunxi Store the flags passed to SUNXI_CCU_FRACT...



details:   https://anonhg.NetBSD.org/src/rev/57cd6b7a124e
branches:  trunk
changeset: 461324:57cd6b7a124e
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Sat Nov 23 03:59:39 2019 +0000

description:
Store the flags passed to SUNXI_CCU_FRACTIONAL macro.

Previously the macro dropped the flags argument entirely, and did not
initialize the structure with it.

diffstat:

 sys/arch/arm/sunxi/sunxi_ccu.h |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r d1f8158c287a -r 57cd6b7a124e sys/arch/arm/sunxi/sunxi_ccu.h
--- a/sys/arch/arm/sunxi/sunxi_ccu.h    Fri Nov 22 23:38:15 2019 +0000
+++ b/sys/arch/arm/sunxi/sunxi_ccu.h    Sat Nov 23 03:59:39 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunxi_ccu.h,v 1.21 2019/01/30 01:24:00 jmcneill Exp $ */
+/* $NetBSD: sunxi_ccu.h,v 1.22 2019/11/23 03:59:39 jakllsch Exp $ */
 
 /*-
  * Copyright (c) 2017 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -405,6 +405,7 @@
                .u.fractional.frac[0] = (_frac0),                       \
                .u.fractional.frac[1] = (_frac1),                       \
                .u.fractional.enable = (_enable),                       \
+               .u.fractional.flags = (_flags),                         \
                .enable = sunxi_ccu_fractional_enable,                  \
                .get_rate = sunxi_ccu_fractional_get_rate,              \
                .set_rate = sunxi_ccu_fractional_set_rate,              \



Home | Main Index | Thread Index | Old Index