[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49DA9094.1070803@gmail.com>
Date: Tue, 07 Apr 2009 01:30:28 +0200
From: José María Fernández González
<josemariafg@...il.com>
To: Pierre Ossman <drzeus-list@...eus.cx>
CC: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] mmc: Some microSD cards are not recognized by PCIxx12
SDA controller
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists