Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2014 09:18:58 +0000 (UTC)
From:      Ganbold Tsagaankhuu <ganbold@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r271901 - head/sys/arm/allwinner
Message-ID:  <201409200918.s8K9IwQY084045@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ganbold
Date: Sat Sep 20 09:18:58 2014
New Revision: 271901
URL: http://svnweb.freebsd.org/changeset/base/271901

Log:
  Fix typo in comment.
  Disable AHB clock gate for ehci0.
  
  Approved by:	stas (mentor)

Modified:
  head/sys/arm/allwinner/a10_clk.c

Modified: head/sys/arm/allwinner/a10_clk.c
==============================================================================
--- head/sys/arm/allwinner/a10_clk.c	Sat Sep 20 08:34:56 2014	(r271900)
+++ head/sys/arm/allwinner/a10_clk.c	Sat Sep 20 09:18:58 2014	(r271901)
@@ -132,7 +132,7 @@ a10_clk_usb_activate(void)
 	/* Gating AHB clock for USB */
 	reg_value = ccm_read_4(sc, CCM_AHB_GATING0);
 	reg_value |= CCM_AHB_GATING_USB0; /* AHB clock gate usb0 */
-	reg_value |= CCM_AHB_GATING_EHCI0; /* AHB clock gate ehci1 */
+	reg_value |= CCM_AHB_GATING_EHCI0; /* AHB clock gate ehci0 */
 	reg_value |= CCM_AHB_GATING_EHCI1; /* AHB clock gate ehci1 */
 	ccm_write_4(sc, CCM_AHB_GATING0, reg_value);
 
@@ -167,6 +167,7 @@ a10_clk_usb_deactivate(void)
 	/* Disable gating AHB clock for USB */
 	reg_value = ccm_read_4(sc, CCM_AHB_GATING0);
 	reg_value &= ~CCM_AHB_GATING_USB0; /* disable AHB clock gate usb0 */
+	reg_value &= ~CCM_AHB_GATING_EHCI0; /* disable AHB clock gate ehci0 */
 	reg_value &= ~CCM_AHB_GATING_EHCI1; /* disable AHB clock gate ehci1 */
 	ccm_write_4(sc, CCM_AHB_GATING0, reg_value);
 



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