Re: [PATCH 1/1] mmc: Some microSD cards are not recognized by PCIxx12SDA controller

From: Josà MarÃÂa FernÃndez GonzÃlez
Date: Mon Apr 06 2009 - 19:31:03 EST


It is curious. I have concentrated my tests on 2.6.29 with HZ=100 and no preemption, and I have done next tests with my microSD card and laptop:

* mmc_delay(2) -> FAIL
* mdelay(2) -> FAIL
* mmc_delay(10) -> Works!
* mdelay(10) -> Works!

And by mistake I found that:

* msleep(2) -> Works!

Best Regards,
Josà MarÃa

Pierre Ossman wrote:
>
> All of them will result in a sleep though. Preferably, I'd like to now
> the minimum delay you need to get things working. Change from
> mmc_delay() to mdelay() to make sure there aren't any sleeps (which
> generally take quite some time to complete).
>
> Rgds

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/