From patchwork Tue Jun 28 05:56:24 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: 923142 X-Patchwork-Delegate: tony@atomide.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.4) with ESMTP id p5S5qulb019689 for ; Tue, 28 Jun 2011 05:52:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755130Ab1F1Fv0 (ORCPT ); Tue, 28 Jun 2011 01:51:26 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:51321 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755616Ab1F1Fuz (ORCPT ); Tue, 28 Jun 2011 01:50:55 -0400 Received: from dlep35.itg.ti.com ([157.170.170.118]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id p5S5onhB030541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 Jun 2011 00:50:49 -0500 Received: from dlep26.itg.ti.com (smtp-le.itg.ti.com [157.170.170.27]) by dlep35.itg.ti.com (8.13.7/8.13.8) with ESMTP id p5S5onR4014375; Tue, 28 Jun 2011 00:50:49 -0500 (CDT) Received: from dlee73.ent.ti.com (localhost [127.0.0.1]) by dlep26.itg.ti.com (8.13.8/8.13.8) with ESMTP id p5S5onEH021025; Tue, 28 Jun 2011 00:50:49 -0500 (CDT) Received: from dlelxv24.itg.ti.com (172.17.1.199) by DLEE73.ent.ti.com (157.170.170.88) with Microsoft SMTP Server id 8.3.106.1; Tue, 28 Jun 2011 00:50:49 -0500 Received: from legion.dal.design.ti.com (legion.dal.design.ti.com [128.247.22.53]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id p5S5om1p023939; Tue, 28 Jun 2011 00:50:48 -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 p5S5okf24254; Tue, 28 Jun 2011 00:50:47 -0500 (CDT) From: Silesh C V To: CC: linux-arm-kernel@lists.infradead.org, kishore.kadiyala@ti.com, balajitk@ti.com, Silesh C V Subject: [PATCH] OMAP: 4430SDP: Register the card detect GPIO properly Date: Tue, 28 Jun 2011 11:26:24 +0530 Message-ID: <1309240584-17401-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 (demeter1.kernel.org [140.211.167.41]); Tue, 28 Jun 2011 05:52:57 +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 --- 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 */