On Tue, 2011-03-08 at 18:44 +0200, Ohad Ben-Cohen wrote:
> On Mon, Mar 7, 2011 at 9:01 PM, Dmitry Shmidt <[email protected]> wrote:
> > On Sat, Mar 5, 2011 at 7:03 AM, Ohad Ben-Cohen <[email protected]> wrote:
> >> On Fri, Mar 4, 2011 at 4:22 AM, Maxim Levitsky <[email protected]>
> >> 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 ?
Yep, just tested.
Best regards,
Maxim Levitsky
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html