summaryrefslogtreecommitdiff
path: root/packages/linux/linux-ezx/pxamci_debug.patch
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-05-11 17:23:44 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-05-11 17:23:44 +0000
commit844bf825c75c21864c1ba911642d58021e08e9ed (patch)
treea4fc24b7330cd955c23787749f4cf751bf35dc57 /packages/linux/linux-ezx/pxamci_debug.patch
parent2222e629a6bf3ebaafce55cfd533486ec9926887 (diff)
add first stab at support for the Motorola A780 GSM phone
NOTE: for now, we use a dedicated linux-ezx kernel, but once this proves working, we will probably unify with linux-openzaurus
Diffstat (limited to 'packages/linux/linux-ezx/pxamci_debug.patch')
-rw-r--r--packages/linux/linux-ezx/pxamci_debug.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/linux/linux-ezx/pxamci_debug.patch b/packages/linux/linux-ezx/pxamci_debug.patch
new file mode 100644
index 0000000000..ccb4883ef3
--- /dev/null
+++ b/packages/linux/linux-ezx/pxamci_debug.patch
@@ -0,0 +1,15 @@
+Index: linux-2.6.16.5-ezx/drivers/mmc/pxamci.c
+===================================================================
+--- linux-2.6.16.5-ezx.orig/drivers/mmc/pxamci.c 2006-04-17 09:35:07.000000000 -0300
++++ linux-2.6.16.5-ezx/drivers/mmc/pxamci.c 2006-04-27 13:26:48.000000000 -0300
+@@ -332,6 +332,10 @@
+ if (ireg & DATA_TRAN_DONE)
+ handled |= pxamci_data_done(host, stat);
+ }
++ if (!handled) {
++ unsigned int stat = readl(host->base + MMC_STAT);
++ printk("PXAMCI: stat %08x\n", stat);
++ }
+
+ return IRQ_RETVAL(handled);
+ }