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.
This commit is contained in:
Emmanuel Vadot 2018-04-27 09:25:27 +00:00
parent fd1337bffc
commit 23774c3973

View File

@ -331,6 +331,7 @@ aw_clk_factor_get_value(struct aw_clk_factor *factor, uint32_t raw)
.m.value = _mvalue, \
.m.flags = _mflags, \
.mux_width = _mux_width, \
.gate_shift = _gate_shift, \
.flags = _flags, \
}