Skip to content

Instantly share code, notes, and snippets.

@disconn3ct
disconn3ct / nookcolor.diff
Created January 21, 2012 11:17
Patch to fix mmc errors on nook color
diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c
index 674b54c..f0f6e41 100644
--- a/drivers/mmc/host/omap_hsmmc.c
+++ b/drivers/mmc/host/omap_hsmmc.c
@@ -1154,6 +1154,20 @@ static void set_data_timeout(struct omap_hsmmc_host *host,
unsigned int timeout_ns,
unsigned int timeout_clks)
{
+ uint32_t reg;
+