r936 - trunk/src/target/kernel/patches

laforge at sita.openmoko.org laforge at sita.openmoko.org
Sat Feb 10 02:34:47 CET 2007


Author: laforge
Date: 2007-02-10 02:34:47 +0100 (Sat, 10 Feb 2007)
New Revision: 936

Added:
   trunk/src/target/kernel/patches/s3cmci-stop-fix.patch
Modified:
   trunk/src/target/kernel/patches/series
Log:
* new s3cmci fix, should fix our SD/MMC problems
* move alsa fix to the top of the patch series, just after asoc


Added: trunk/src/target/kernel/patches/s3cmci-stop-fix.patch
===================================================================
--- trunk/src/target/kernel/patches/s3cmci-stop-fix.patch	2007-02-10 00:18:29 UTC (rev 935)
+++ trunk/src/target/kernel/patches/s3cmci-stop-fix.patch	2007-02-10 01:34:47 UTC (rev 936)
@@ -0,0 +1,27 @@
+This patch from Thomas Kleffel (the author of s3cmci) should fix our
+SD/MMC instability problems.
+
+Signed-off-by: Harald Welte <laforge at openmoko.org>
+
+Index: linux-2.6.17.14-fic4.test/drivers/mmc/s3cmci.c
+===================================================================
+--- linux-2.6.17.14-fic4.test.orig/drivers/mmc/s3cmci.c	2007-02-07 20:39:12.000000000 +0100
++++ linux-2.6.17.14-fic4.test/drivers/mmc/s3cmci.c	2007-02-10 02:31:13.000000000 +0100
+@@ -667,7 +667,7 @@
+ #endif
+ 	//Cleanup controller
+ 	writel(0, host->base + S3C2410_SDICMDARG);
+-	writel(0, host->base + S3C2410_SDIDCON);
++	writel(S3C2410_SDIDCON_STOP, host->base + S3C2410_SDIDCON);
+ 	writel(0, host->base + S3C2410_SDICMDCON);
+ 	writel(0, host->base + host->sdiimsk);
+ 
+@@ -794,7 +794,7 @@
+ 		dbg(host, dbg_err,
+ 			"mci_setup_data() transfer stillin progress.\n");
+ 
+-		writel(0, host->base + S3C2410_SDIDCON);
++		writel(S3C2410_SDIDCON_STOP, host->base + S3C2410_SDIDCON);
+ 		s3cmci_reset(host);
+ 
+ 		if (0 == (stoptries--)) {

Modified: trunk/src/target/kernel/patches/series
===================================================================
--- trunk/src/target/kernel/patches/series	2007-02-10 00:18:29 UTC (rev 935)
+++ trunk/src/target/kernel/patches/series	2007-02-10 01:34:47 UTC (rev 936)
@@ -1,5 +1,6 @@
 asoc.patch
 asoc-neo_backport.patch
+gta01-asoc-rxmixer.patch
 2.6.17-s3c2410-spi-mode23.patch
 2.6.17-arm-usb_gadget-ether-link.patch
 s3c2410_serial-nodebug.patch
@@ -9,6 +10,7 @@
 s3c_mci.patch
 s3cmci_dbg.patch
 s3cmci-dma-free.patch
+s3cmci-stop-fix.patch
 s3c_mci_platform.patch
 qt2410-base.patch
 qt2410-cs8900.patch
@@ -26,5 +28,4 @@
 g_ether-highpower.patch
 gta01-vbus_draw.patch
 ts0710.patch
-gta01-asoc-rxmixer.patch
 input-nots-mousedev.patch





More information about the commitlog mailing list