From patchwork Tue Sep 6 15:11:49 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Weber X-Patchwork-Id: 1126592 Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p86FCba8016929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Sep 2011 15:12:58 GMT Received: from canuck.infradead.org ([2001:4978:20e::1]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1R0xK3-0002HN-Hd; Tue, 06 Sep 2011 15:12:23 +0000 Received: from localhost ([127.0.0.1] helo=canuck.infradead.org) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1R0xK3-0001Ei-5S; Tue, 06 Sep 2011 15:12:23 +0000 Received: from moutng.kundenserver.de ([212.227.126.186]) by canuck.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1R0xK0-0001EQ-6K for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2011 15:12:20 +0000 Received: from corscience.de (DSL01.212.114.252.242.ip-pool.NEFkom.net [212.114.252.242]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MLTGA-1R0PM32cUs-0006Sm; Tue, 06 Sep 2011 17:12:09 +0200 Received: from lupus.er.corscience.de (lupus.2og.er.corscience.de [192.168.102.101]) by corscience.de (Postfix) with ESMTP id 27C7A51FE8; Tue, 6 Sep 2011 17:12:09 +0200 (CEST) From: Thomas Weber To: linux-omap@vger.kernel.org Subject: [PATCH] OMAP2: Devkit8000: Remove double omap_mux_init_gpio Date: Tue, 6 Sep 2011 17:11:49 +0200 Message-Id: <1315321909-5593-1-git-send-email-weber@corscience.de> X-Mailer: git-send-email 1.7.6.1 X-Provags-ID: V02:K0:W4GLDas8UJtlY/oqzX5LyNHRvW9YNPeALw6ttOBODms 3Co0HWz2KmRI9vV9veSzuuZ9n22K34ANT/TBQ74OTCm7556jqD Z0r+U1muIW//hbxhkjilssk9FMrzvMiv0vNBOctzFLHvJng9SM 1x7IYolPcLFS4KEI8ijLccnP2vR8kyCoPxxjb0LYka2DlZM0RX +1E1Vv5hnRiUmVquvJO1mHwwrOUa55dK6e3CZNBomfK/zW6ZdU /yljVvHWFYlO0GFjdXvM5aeV7+gW+VUXASTfFQBSiooA/h3QCA ZYOZipGS3Ppa6SO6mHiQVeoFD8jk18xi4JVWDJYW1h2Y9X/HAG bUNUDfYqs0eb/7KRT+d5syTL3g06QbnLDbNmR03XJQuHPmoepC O5kKzVMyoDL6w== X-CRM114-Version: 20090807-BlameThorstenAndJenny ( TRE 0.7.6 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20110906_111220_495392_10324301 X-CRM114-Status: UNSURE ( 9.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.3.1 on canuck.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [212.227.126.186 listed in list.dnswl.org] Cc: Tony Lindgren , Thomas Weber , Russell King , open list , "open list:ARM PORT" X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Tue, 06 Sep 2011 15:12:58 +0000 (UTC) Remove the init of card detect pin because omap_mux_init_gpio() is called during hsmmc initialization for the write protect and card detect pin. Signed-off-by: Thomas Weber --- arch/arm/mach-omap2/board-devkit8000.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-devkit8000.c b/arch/arm/mach-omap2/board-devkit8000.c index f15f2a2..029c08a 100644 --- a/arch/arm/mach-omap2/board-devkit8000.c +++ b/arch/arm/mach-omap2/board-devkit8000.c @@ -226,7 +226,6 @@ static int devkit8000_twl_gpio_setup(struct device *dev, { int ret; - omap_mux_init_gpio(29, OMAP_PIN_INPUT); /* gpio + 0 is "mmc0_cd" (input/IRQ) */ mmc[0].gpio_cd = gpio + 0; omap2_hsmmc_init(mmc);