svn commit: r274414 - head/sys/arm/freescale/imx

Ian Lepore ian at FreeBSD.org
Wed Nov 12 02:44:28 UTC 2014


Author: ian
Date: Wed Nov 12 02:44:27 2014
New Revision: 274414
URL: https://svnweb.freebsd.org/changeset/base/274414

Log:
  Fix the reversed sense of the PADCONF_NONE test.

Modified:
  head/sys/arm/freescale/imx/imx_iomux.c

Modified: head/sys/arm/freescale/imx/imx_iomux.c
==============================================================================
--- head/sys/arm/freescale/imx/imx_iomux.c	Wed Nov 12 02:38:25 2014	(r274413)
+++ head/sys/arm/freescale/imx/imx_iomux.c	Wed Nov 12 02:44:27 2014	(r274414)
@@ -139,7 +139,7 @@ iomux_configure_pins(device_t dev, phand
 		WR4(sc, cfg->mux_reg, cfg->mux_val | sion);
 		if (cfg->input_reg != 0)
 			WR4(sc, cfg->input_reg, cfg->input_val);
-		if ((cfg->padconf_val & PADCONF_NONE) != 0)
+		if ((cfg->padconf_val & PADCONF_NONE) == 0)
 			WR4(sc, cfg->padconf_reg, cfg->padconf_val);
 		if (bootverbose) {
 			char name[32]; 


More information about the svn-src-all mailing list