X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/43d9b85117bd329cf24b23074726a08569b2efd6..a808a8e5276ff8e3012d1b54b9c3f29744889620:/target/linux/omap24xx/patches-2.6.38/810-mmc-fixes.patch diff --git a/target/linux/omap24xx/patches-2.6.38/810-mmc-fixes.patch b/target/linux/omap24xx/patches-2.6.38/810-mmc-fixes.patch index 314285540..854a1305e 100644 --- a/target/linux/omap24xx/patches-2.6.38/810-mmc-fixes.patch +++ b/target/linux/omap24xx/patches-2.6.38/810-mmc-fixes.patch @@ -1,23 +1,6 @@ ---- - drivers/mmc/core/core.c | 5 +++-- - drivers/mmc/host/omap.c | 7 +++++-- - include/linux/mmc/host.h | 2 ++ - 3 files changed, 10 insertions(+), 4 deletions(-) - -Index: linux-2.6.38-rc6/drivers/mmc/host/omap.c -=================================================================== ---- linux-2.6.38-rc6.orig/drivers/mmc/host/omap.c 2011-02-22 02:25:52.000000000 +0100 -+++ linux-2.6.38-rc6/drivers/mmc/host/omap.c 2011-02-24 00:40:46.129908862 +0100 -@@ -389,7 +389,7 @@ - - mod_timer(&host->cmd_abort_timer, jiffies + HZ/2); - -- OMAP_MMC_WRITE(host, CTO, 200); -+// OMAP_MMC_WRITE(host, CTO, 200); - OMAP_MMC_WRITE(host, ARGL, cmd->arg & 0xffff); - OMAP_MMC_WRITE(host, ARGH, cmd->arg >> 16); - OMAP_MMC_WRITE(host, IE, -@@ -1456,6 +1456,7 @@ +--- a/drivers/mmc/host/omap.c ++++ b/drivers/mmc/host/omap.c +@@ -1456,6 +1456,7 @@ static int __init mmc_omap_probe(struct host->dma_ch = -1; host->irq = irq; @@ -25,7 +8,7 @@ Index: linux-2.6.38-rc6/drivers/mmc/host/omap.c host->phys_base = host->mem_res->start; host->virt_base = ioremap(res->start, res->end - res->start + 1); if (!host->virt_base) -@@ -1495,7 +1496,9 @@ +@@ -1495,7 +1496,9 @@ static int __init mmc_omap_probe(struct } } @@ -36,11 +19,9 @@ Index: linux-2.6.38-rc6/drivers/mmc/host/omap.c return 0; -Index: linux-2.6.38-rc6/drivers/mmc/core/core.c -=================================================================== ---- linux-2.6.38-rc6.orig/drivers/mmc/core/core.c 2011-02-22 02:25:52.000000000 +0100 -+++ linux-2.6.38-rc6/drivers/mmc/core/core.c 2011-02-24 00:40:46.131908784 +0100 -@@ -75,12 +75,13 @@ +--- a/drivers/mmc/core/core.c ++++ b/drivers/mmc/core/core.c +@@ -75,12 +75,13 @@ static int mmc_schedule_delayed_work(str } /* @@ -56,11 +37,9 @@ Index: linux-2.6.38-rc6/drivers/mmc/core/core.c /** * mmc_request_done - finish processing an MMC request -Index: linux-2.6.38-rc6/include/linux/mmc/host.h -=================================================================== ---- linux-2.6.38-rc6.orig/include/linux/mmc/host.h 2011-02-22 02:25:52.000000000 +0100 -+++ linux-2.6.38-rc6/include/linux/mmc/host.h 2011-02-24 00:40:46.131908784 +0100 -@@ -326,5 +326,7 @@ +--- a/include/linux/mmc/host.h ++++ b/include/linux/mmc/host.h +@@ -325,5 +325,7 @@ static inline int mmc_card_is_powered_re return host->pm_flags & MMC_PM_KEEP_POWER; }