From patchwork Tue Jun 29 20:32:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Aguirre Rodriguez, Sergio Alberto" X-Patchwork-Id: 108702 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5TKYHHS012739 for ; Tue, 29 Jun 2010 20:34:17 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754299Ab0F2UeQ (ORCPT ); Tue, 29 Jun 2010 16:34:16 -0400 Received: from comal.ext.ti.com ([198.47.26.152]:57932 "EHLO comal.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751359Ab0F2UeP (ORCPT ); Tue, 29 Jun 2010 16:34:15 -0400 Received: from dlep34.itg.ti.com ([157.170.170.115]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id o5TKYDho018054 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 29 Jun 2010 15:34:13 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep34.itg.ti.com (8.13.7/8.13.7) with ESMTP id o5TKYDIP009987; Tue, 29 Jun 2010 15:34:13 -0500 (CDT) Received: from localhost (dtx0091359-ubuntu-1.am.dhcp.ti.com [128.247.74.234]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id o5TKYDP02935; Tue, 29 Jun 2010 15:34:13 -0500 (CDT) From: Sergio Aguirre To: linux-omap@vger.kernel.org Cc: Tony Lindgren , Sergio Aguirre , Koen Kooi Subject: [RFC][PATCH] board-omap3beagle: Remove duplicate DVI reset gpio handling Date: Tue, 29 Jun 2010 15:32:40 -0500 Message-Id: <1277843560-25630-1-git-send-email-saaguirre@ti.com> X-Mailer: git-send-email 1.6.3.3 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 29 Jun 2010 20:34:17 +0000 (UTC) diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c index 7b95cc1..867a4ad 100644 --- a/arch/arm/mach-omap2/board-omap3beagle.c +++ b/arch/arm/mach-omap2/board-omap3beagle.c @@ -169,6 +169,8 @@ static void __init beagle_display_init(void) { int r; + omap_mux_init_gpio(beagle_dvi_device.reset_gpio, OMAP_PIN_INPUT); + r = gpio_request(beagle_dvi_device.reset_gpio, "DVI reset"); if (r < 0) { printk(KERN_ERR "Unable to get DVI reset GPIO\n"); @@ -491,11 +493,6 @@ static void __init omap3_beagle_init(void) ARRAY_SIZE(omap3_beagle_devices)); omap_serial_init(); - omap_mux_init_gpio(170, OMAP_PIN_INPUT); - gpio_request(170, "DVI_nPD"); - /* REVISIT leave DVI powered down until it's needed ... */ - gpio_direction_output(170, true); - usb_musb_init(&musb_board_data); usb_ehci_init(&ehci_pdata); omap3beagle_flash_init();