2013-07-12 22:27:54

by Kelly Anderson

[permalink] [raw]
Subject: [PATCH]: 3.10 fails to boot from mmc root

3.10 fails to boot from mmc root without this patch.

An early version of this patch was to be included in in 3.10
but apparently didn't make it.

--- ./drivers/mmc/core/core.c.orig 2013-06-30 16:13:29.000000000 -0600
+++ ./drivers/mmc/core/core.c 2013-07-12 15:17:15.377466795 -0600
@@ -2421,6 +2421,7 @@ void mmc_start_host(struct mmc_host *hos
else
mmc_power_up(host);
mmc_detect_change(host, 0);
+ mmc_flush_scheduled_work();
}

void mmc_stop_host(struct mmc_host *host)