summaryrefslogtreecommitdiff
path: root/packages/linux/linux-ezx/pxamci_debug.patch
diff options
context:
space:
mode:
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);
+ }