Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2018 09:25:27 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333055 - head/sys/arm/allwinner/clkng
Message-ID:  <201804270925.w3R9PRv2079901@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,			\
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804270925.w3R9PRv2079901>