linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] OMAP: 4430SDP: Register the card detect GPIO properly
@ 2011-06-29  2:14 Silesh C V
  2011-06-29  2:14 ` [PATCH v2 2/2] OMAP: HSMMC: Fix GPIO muxing Silesh C V
  0 siblings, 1 reply; 2+ messages in thread
From: Silesh C V @ 2011-06-29  2:14 UTC (permalink / raw)
  To: linux-arm-kernel

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 <silesh@ti.com>
---
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 */
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-29  2:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-29  2:14 [PATCH v2 1/2] OMAP: 4430SDP: Register the card detect GPIO properly Silesh C V
2011-06-29  2:14 ` [PATCH v2 2/2] OMAP: HSMMC: Fix GPIO muxing Silesh C V

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).