svn commit: r333055 - head/sys/arm/allwinner/clkng
Emmanuel Vadot
manu at FreeBSD.org
Fri Apr 27 09:25:27 UTC 2018
Author: manu
Date: Fri Apr 27 09:25:27 2018
New Revision: 333055
URL: https://svnweb.freebsd.org/changeset/base/333055
Log:
allwinner: clk: Add gate_shift to the clock definition
WHile gate_shift was present in the NM_CLK macro it wasn't set into the
clock definition structure resulting in NM clocks not being correctly
gated when they should.
If the module wasn't enabled by the bootloader it will have stayed ungated.
Modified:
head/sys/arm/allwinner/clkng/aw_clk.h
Modified: head/sys/arm/allwinner/clkng/aw_clk.h
==============================================================================
--- head/sys/arm/allwinner/clkng/aw_clk.h Fri Apr 27 09:23:07 2018 (r333054)
+++ head/sys/arm/allwinner/clkng/aw_clk.h Fri Apr 27 09:25:27 2018 (r333055)
@@ -331,6 +331,7 @@ aw_clk_factor_get_value(struct aw_clk_factor *factor,
.m.value = _mvalue, \
.m.flags = _mflags, \
.mux_width = _mux_width, \
+ .gate_shift = _gate_shift, \
.flags = _flags, \
}
More information about the svn-src-all
mailing list