From owner-svn-src-head@FreeBSD.ORG Wed Nov 12 02:44:28 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C278EE14; Wed, 12 Nov 2014 02:44:28 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AFBB0671; Wed, 12 Nov 2014 02:44:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sAC2iSTK073837; Wed, 12 Nov 2014 02:44:28 GMT (envelope-from ian@FreeBSD.org) Received: (from ian@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sAC2iSeV073836; Wed, 12 Nov 2014 02:44:28 GMT (envelope-from ian@FreeBSD.org) Message-Id: <201411120244.sAC2iSeV073836@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: ian set sender to ian@FreeBSD.org using -f From: Ian Lepore Date: Wed, 12 Nov 2014 02:44:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r274414 - head/sys/arm/freescale/imx X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2014 02:44:28 -0000 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];