Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Oct 2016 08:47:35 +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: r307959 - head/sys/arm/allwinner/clk
Message-ID:  <201610260847.u9Q8lZhj032901@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: manu
Date: Wed Oct 26 08:47:35 2016
New Revision: 307959
URL: https://svnweb.freebsd.org/changeset/base/307959

Log:
  The only consumer of pll1 is the CPU clock, we don't need to set it glitch free.
  
  Reported by:	jmcneill
  MFC after:	1 week

Modified:
  head/sys/arm/allwinner/clk/aw_pll.c

Modified: head/sys/arm/allwinner/clk/aw_pll.c
==============================================================================
--- head/sys/arm/allwinner/clk/aw_pll.c	Wed Oct 26 08:39:33 2016	(r307958)
+++ head/sys/arm/allwinner/clk/aw_pll.c	Wed Oct 26 08:47:35 2016	(r307959)
@@ -310,15 +310,6 @@ struct aw_pll_funcs {
 #define	DEVICE_UNLOCK(sc)	CLKDEV_DEVICE_UNLOCK((sc)->clkdev)
 
 static int
-a10_pll1_init(device_t dev, bus_addr_t reg, struct clknode_init_def *def)
-{
-	/* Allow changing PLL frequency while enabled */
-	def->flags = CLK_NODE_GLITCH_FREE;
-
-	return (0);
-}
-
-static int
 a10_pll1_set_freq(struct aw_pll_sc *sc, uint64_t fin, uint64_t *fout,
     int flags)
 {
@@ -999,7 +990,7 @@ a83t_pllcpux_set_freq(struct aw_pll_sc *
 	}
 
 static struct aw_pll_funcs aw_pll_func[] = {
-	PLL(AWPLL_A10_PLL1, a10_pll1_recalc, a10_pll1_set_freq, a10_pll1_init),
+	PLL(AWPLL_A10_PLL1, a10_pll1_recalc, a10_pll1_set_freq, NULL),
 	PLL(AWPLL_A10_PLL2, a10_pll2_recalc, a10_pll2_set_freq, NULL),
 	PLL(AWPLL_A10_PLL3, a10_pll3_recalc, a10_pll3_set_freq, a10_pll3_init),
 	PLL(AWPLL_A10_PLL5, a10_pll5_recalc, NULL, NULL),



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