summaryrefslogtreecommitdiff
path: root/packages/linux/linux-ezx/pxamci_debug.patch
blob: ccb4883ef31a2f3f5de0bc2f379da9c15854a88d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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);
 }