On Mon, Mar 7, 2011 at 9:01 PM, Dmitry Shmidt <dimitrysh@xxxxxxxxxx> wrote: > On Sat, Mar 5, 2011 at 7:03 AM, Ohad Ben-Cohen <ohad@xxxxxxxxxx> wrote: >> On Fri, Mar 4, 2011 at 4:22 AM, Maxim Levitsky <maximlevitsky@xxxxxxxxx> wrote: >>> This patch breaks the CONFIG_MMC_UNSAFE_RESUME >> >> Does the below work for you (untested) ? >> >> diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c >> index 6625c05..150b5f3 100644 >> --- a/drivers/mmc/core/core.c >> +++ b/drivers/mmc/core/core.c >> @@ -1529,7 +1529,7 @@ void mmc_rescan(struct work_struct *work) >> * still present >> */ >> if (host->bus_ops && host->bus_ops->detect && !host->bus_dead >> - && mmc_card_is_removable(host)) >> + && !(host->caps & MMC_CAP_NONREMOVABLE)) >> host->bus_ops->detect(host); >> >> /* >> > This works for me, Thanks. Maxim, does this work for you too ? -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html