public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 2/3] MMC compatibility fix - Power up delay
@ 2004-09-18  9:58 Pierre Ossman
  0 siblings, 0 replies; only message in thread
From: Pierre Ossman @ 2004-09-18  9:58 UTC (permalink / raw)
  To: linux-kernel, Russell King

[-- Attachment #1: Type: text/plain, Size: 101 bytes --]

This patch adds a 10 ms delay in the power up loop. Some cards fail to 
power up in time without it.

[-- Attachment #2: mmc-powerup.patch --]
[-- Type: text/x-patch, Size: 297 bytes --]

Index: linux-wbsd/drivers/mmc/mmc.c
===================================================================
--- linux-wbsd/drivers/mmc/mmc.c	(revision 58)
+++ linux-wbsd/drivers/mmc/mmc.c	(revision 59)
@@ -442,6 +442,8 @@
 			break;
 
 		err = MMC_ERR_TIMEOUT;
+		
+		mmc_delay(10);
 	}
 
 	if (rocr)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-18  9:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-18  9:58 [PATCH 2/3] MMC compatibility fix - Power up delay Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox