From patchwork Wed Jun 29 02:14:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Silesh C V X-Patchwork-Id: 926772 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.4) with ESMTP id p5T29Q1B023677 for ; Wed, 29 Jun 2011 02:09:27 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751766Ab1F2CJX (ORCPT ); Tue, 28 Jun 2011 22:09:23 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:54596 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751289Ab1F2CJX (ORCPT ); Tue, 28 Jun 2011 22:09:23 -0400 Received: from dlep33.itg.ti.com ([157.170.170.112]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id p5T29FOX009634 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Jun 2011 21:09:15 -0500 Received: from dlep26.itg.ti.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep33.itg.ti.com (8.13.7/8.13.8) with ESMTP id p5T29FZD010438; Tue, 28 Jun 2011 21:09:15 -0500 (CDT) Received: from dlee74.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p5T29FkB024706; Tue, 28 Jun 2011 21:09:15 -0500 (CDT) Received: from dlelxv23.itg.ti.com (172.17.1.198) by dlee74.ent.ti.com (157.170.170.8) with Microsoft SMTP Server id 8.3.106.1; Tue, 28 Jun 2011 21:09:15 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id p5T29EDn024236; Tue, 28 Jun 2011 21:09:14 -0500 Received: from localhost (fujutsu-desktop.apr.dhcp.ti.com [172.24.141.119]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id p5T29Cf29867; Tue, 28 Jun 2011 21:09:12 -0500 (CDT) From: Silesh C V To: CC: linux-arm-kernel@lists.infradead.org, balajitk@ti.com, grinberg@compulab.co.il, svenkatr@ti.com, Silesh C V Subject: [PATCH v2 1/2] OMAP: 4430SDP: Register the card detect GPIO properly Date: Wed, 29 Jun 2011 07:44:56 +0530 Message-ID: <1309313698-19438-1-git-send-email-silesh@ti.com> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 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.6 (demeter2.kernel.org [140.211.167.43]); Wed, 29 Jun 2011 02:09:27 +0000 (UTC) Without this the HSMMC driver takes GPIO 0 to be the card detect gpio and requests/configures it. This will give rise to issues when another driver needs to use GPIO 0. On 4430SDP, the card detection is through TWL 6030. Signed-off-by: Silesh C V --- Changes for v2 : - Made it a series to make sure this one goes before the mux fix. arch/arm/mach-omap2/board-4430sdp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board-4430sdp.c index 63de2d3..7a1460f 100644 --- a/arch/arm/mach-omap2/board-4430sdp.c +++ b/arch/arm/mach-omap2/board-4430sdp.c @@ -327,6 +327,7 @@ static struct omap2_hsmmc_info mmc[] = { { .mmc = 1, .caps = MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA, + .gpio_cd = -EINVAL, .gpio_wp = -EINVAL, }, {} /* Terminator */