From: "José María Fernández González" <josemariafg@gmail.com>
To: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/1] mmc: Some microSD cards are not recognized by PCIxx12 SDA controller
Date: Tue, 07 Apr 2009 01:30:28 +0200 [thread overview]
Message-ID: <49DA9094.1070803@gmail.com> (raw)
In-Reply-To: <20090405203317.72ce6aff@mjolnir.ossman.eu>
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
next prev parent reply other threads:[~2009-04-06 23:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-10 1:21 [PATCH 1/1] mmc: Some microSD cards are not recognized by PCIxx12 SDA controller José María Fernández González
2009-03-24 20:17 ` Pierre Ossman
2009-03-25 8:00 ` José María Fernández González
2009-03-25 16:17 ` Pierre Ossman
2009-03-26 16:37 ` José María Fernández González
2009-04-05 18:33 ` Pierre Ossman
2009-04-06 23:30 ` José María Fernández González [this message]
2009-04-10 21:35 ` Pierre Ossman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49DA9094.1070803@gmail.com \
--to=josemariafg@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=drzeus-list@drzeus.cx \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.