[kernel] r14362 - in dists/lenny/linux-2.6/debian: . patches/bugfix/all patches/series

Ben Hutchings benh at alioth.debian.org
Fri Oct 9 03:01:39 UTC 2009


Author: benh
Date: Fri Oct  9 03:00:47 2009
New Revision: 14362

Log:
mmc: Increase power-up delay (Closes: #508599)

Added:
   dists/lenny/linux-2.6/debian/patches/bugfix/all/mmc-increase-power-up-delay.patch
Modified:
   dists/lenny/linux-2.6/debian/changelog
   dists/lenny/linux-2.6/debian/patches/series/20

Modified: dists/lenny/linux-2.6/debian/changelog
==============================================================================
--- dists/lenny/linux-2.6/debian/changelog	Thu Oct  8 21:12:11 2009	(r14361)
+++ dists/lenny/linux-2.6/debian/changelog	Fri Oct  9 03:00:47 2009	(r14362)
@@ -14,6 +14,7 @@
   * nfs: Avoid overrun when copying client IP address string
     (Closes: #549002)
   * sis190: Correct DMA sync handling on small packets (Closes: #541169)
+  * mmc: Increase power-up delay (Closes: #508599)
 
   [ dann frazier ]
   * autofs4: don't make expiring dentry negative, avoiding an oops

Added: dists/lenny/linux-2.6/debian/patches/bugfix/all/mmc-increase-power-up-delay.patch
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ dists/lenny/linux-2.6/debian/patches/bugfix/all/mmc-increase-power-up-delay.patch	Fri Oct  9 03:00:47 2009	(r14362)
@@ -0,0 +1,42 @@
+From 79bccc5aefb4e64e651abe04f78c3e6bf8acd6f0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jos=C3=A9=20M.=20Fern=C3=A1ndez?= <josemariafg at gmail.com>
+Date: Tue, 10 Mar 2009 02:21:21 +0100
+Subject: [PATCH] mmc: increase power up delay
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The TI controller on Toshiba Tecra M5 needs more time to power up or
+the cards will init incorrectly or not at all.
+
+Signed-off-by: José M. Fernández <josemariafg at gmail.com>
+Signed-off-by: Pierre Ossman <pierre at ossman.eu>
+---
+ drivers/mmc/core/core.c |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
+index fa073ab..2649117 100644
+--- a/drivers/mmc/core/core.c
++++ b/drivers/mmc/core/core.c
+@@ -706,7 +706,7 @@ static void mmc_power_up(struct mmc_host *host)
+ 	 * This delay should be sufficient to allow the power supply
+ 	 * to reach the minimum voltage.
+ 	 */
+-	mmc_delay(2);
++	mmc_delay(10);
+ 
+ 	host->ios.clock = host->f_min;
+ 	host->ios.power_mode = MMC_POWER_ON;
+@@ -716,7 +716,7 @@ static void mmc_power_up(struct mmc_host *host)
+ 	 * This delay must be at least 74 clock sizes, or 1 ms, or the
+ 	 * time required to reach a stable voltage.
+ 	 */
+-	mmc_delay(2);
++	mmc_delay(10);
+ }
+ 
+ static void mmc_power_off(struct mmc_host *host)
+-- 
+1.6.4.3
+

Modified: dists/lenny/linux-2.6/debian/patches/series/20
==============================================================================
--- dists/lenny/linux-2.6/debian/patches/series/20	Thu Oct  8 21:12:11 2009	(r14361)
+++ dists/lenny/linux-2.6/debian/patches/series/20	Fri Oct  9 03:00:47 2009	(r14362)
@@ -6,4 +6,5 @@
 + bugfix/all/dm-snapshot-fix-primary_pe-race.patch
 + bugfix/all/fs-nfs-avoid-overrun-copying-client-ip.patch
 + bugfix/all/sis190-correct-dma-sync-small-packets.patch
++ bugfix/all/mmc-increase-power-up-delay.patch
 + features/all/ftdi_sio-openrd.patch



More information about the Kernel-svn-changes mailing list